mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-15 07:43:14 +01:00
Zerobyte: let the singlefile download unpack restic
core unpacks a compressed single binary since #248, so the manual bzip2 -d hit an already unpacked file and failed every install.
This commit is contained in:
1 parent
7d269d510e
commit
c9f8615f4f
1 file changed
-3
@@ -25,9 +25,6 @@ $STD apt install -y \
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
fetch_and_deploy_gh_release "restic" "restic/restic" "singlefile" "latest" "/usr/local/bin" "restic_*_linux_$(arch_resolve).bz2"
|
||||
mv /usr/local/bin/restic /usr/local/bin/restic.bz2
|
||||
bzip2 -d /usr/local/bin/restic.bz2
|
||||
chmod +x /usr/local/bin/restic
|
||||
|
||||
fetch_and_deploy_gh_release "rclone" "rclone/rclone" "prebuild" "latest" "/opt/rclone" "rclone-*-linux-$(arch_resolve).zip"
|
||||
ln -sf /opt/rclone/rclone /usr/local/bin/rclone
|
||||
|
||||
Reference in new issue
Block a user