mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-09 01:09:16 +00:00
fix(review): output for tar command
This commit is contained in:
parent
456751e7cc
commit
c18dc87fc5
@ -16,14 +16,14 @@ msg_info "Installing Dependencies"
|
|||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
mc \
|
mc \
|
||||||
curl \
|
curl \
|
||||||
sudo
|
sudo
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Install Opengist"
|
msg_info "Install Opengist"
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/thomiceli/opengist/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
RELEASE=$(curl -s https://api.github.com/repos/thomiceli/opengist/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
||||||
wget -q "https://github.com/thomiceli/opengist/releases/download/v${RELEASE}/opengist${RELEASE}-linux-amd64.tar.gz"
|
wget -q "https://github.com/thomiceli/opengist/releases/download/v${RELEASE}/opengist${RELEASE}-linux-amd64.tar.gz"
|
||||||
tar -xzf opengist${RELEASE}-linux-amd64.tar.gz
|
$STD tar -xzf opengist${RELEASE}-linux-amd64.tar.gz
|
||||||
mv opengist /opt/opengist
|
mv opengist /opt/opengist
|
||||||
chmod +x /opt/opengist/opengist
|
chmod +x /opt/opengist/opengist
|
||||||
mkdir -p /opt/opengist-data
|
mkdir -p /opt/opengist-data
|
||||||
|
Loading…
Reference in New Issue
Block a user