dragonfly/dragonfly/update.sh
Jacob Schmidt bf951fd1f6
Some checks failed
Build / Build (push) Failing after 39s
Initial Repo Setup
2025-01-01 09:33:04 -06:00

17 lines
448 B
Bash

#!/bin/bash
# Set your download URL here
DOWNLOAD_URL="https://dragonflydb.gateway.scarf.sh/latest/dragonfly-x86_64.tar.gz"
# Download the file using wget or curl. Here, we'll use wget.
wget $DOWNLOAD_URL -O latest.tar.gz
# Extract the downloaded tar.gz file
tar -zxf latest.tar.gz
# Rename the dragonfly-x86_64 file to dragonfly
mv dragonfly-x86_64 dragonfly
# Remove the tar.gz and dragonfly-x86_64 files
rm latest.tar.gz
rm dragonfly-x86_64