This commit is contained in:
Slaviša Arežina
2025-08-20 15:33:44 +02:00
committed by GitHub
parent f13c8ff3ce
commit 14418411f6
2 changed files with 4 additions and 2 deletions

View File

@@ -23,8 +23,9 @@ RELEASE=$(curl -fsSL https://api.github.com/repos/matze/wastebin/releases/latest
curl -fsSL "https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.tar.zst" -o "$temp_file"
tar -xf $temp_file
mkdir -p /opt/wastebin
mv wastebin /opt/wastebin/
mv wastebin* /opt/wastebin/
chmod +x /opt/wastebin/wastebin
chmod +x /opt/wastebin/wastebin-ctl
mkdir -p /opt/wastebin-data
cat <<EOF >/opt/wastebin-data/.env