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