mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-11 02:09:17 +00:00
fix: wrong executble path
This commit is contained in:
parent
c717ef22e7
commit
214096d2f8
@ -28,7 +28,7 @@ function update_script() {
|
|||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ ! -f /usr/local/bin/opengist ]]; then
|
if [[ ! -f /opt/opengist/opengist ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
@ -39,7 +39,7 @@ function update_script() {
|
|||||||
tar -xf opengist.tar.gz
|
tar -xf opengist.tar.gz
|
||||||
mv opengist/opengist /opt/opengist/opengist
|
mv opengist/opengist /opt/opengist/opengist
|
||||||
mv opengist/config.yml /opt/opengist/config.yml
|
mv opengist/config.yml /opt/opengist/config.yml
|
||||||
chmod +x /usr/local/bin/opengist
|
chmod +x /opt/opengist/opengist
|
||||||
rm -rf opengist*
|
rm -rf opengist*
|
||||||
apt-get update &>/dev/null
|
apt-get update &>/dev/null
|
||||||
apt-get -y upgrade &>/dev/null
|
apt-get -y upgrade &>/dev/null
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# License: MIT
|
# License: MIT
|
||||||
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
|
||||||
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||||
color
|
color
|
||||||
verb_ip6
|
verb_ip6
|
||||||
catch_errors
|
catch_errors
|
||||||
@ -30,7 +30,7 @@ mv opengist*.tar.gz opengist.tar.gz
|
|||||||
tar -xf opengist.tar.gz
|
tar -xf opengist.tar.gz
|
||||||
mv opengist/opengist /opt/opengist/opengist
|
mv opengist/opengist /opt/opengist/opengist
|
||||||
mv opengist/config.yml /opt/opengist/config.yml
|
mv opengist/config.yml /opt/opengist/config.yml
|
||||||
chmod +x /usr/local/bin/opengist
|
chmod +x /opt/opengist/opengist
|
||||||
rm -rf opengist*
|
rm -rf opengist*
|
||||||
cat <<EOF >/etc/systemd/system/opengist.service
|
cat <<EOF >/etc/systemd/system/opengist.service
|
||||||
[Unit]
|
[Unit]
|
||||||
|
Loading…
Reference in New Issue
Block a user