mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 01:44:38 +00:00
and install script...
This commit is contained in:
parent
7ce0edac95
commit
4b2d7c58d5
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ update_os
|
||||||
msg_info "Installing Wastebin"
|
msg_info "Installing Wastebin"
|
||||||
temp_file=$(mktemp)
|
temp_file=$(mktemp)
|
||||||
RELEASE=$(curl -fsSL https://api.github.com/repos/matze/wastebin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
RELEASE=$(curl -fsSL https://api.github.com/repos/matze/wastebin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||||
curl -fsSL "https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.zip" -o "$temp_file"
|
curl -fsSL "https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.tar.zst" -o "$temp_file"
|
||||||
$STD unzip $temp_file
|
tar -xf $temp_file
|
||||||
mkdir -p /opt/wastebin
|
mkdir -p /opt/wastebin
|
||||||
mv wastebin /opt/wastebin/
|
mv wastebin /opt/wastebin/
|
||||||
chmod +x /opt/wastebin/wastebin
|
chmod +x /opt/wastebin/wastebin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue