From 60d45e7b51910209b14889b0d118e898caead94f Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 13 Jun 2023 16:08:01 +0800 Subject: [PATCH] image source update --- install/install.sh | 2 +- install/update.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/install/install.sh b/install/install.sh index 7f0b9442..729c932c 100644 --- a/install/install.sh +++ b/install/install.sh @@ -277,7 +277,7 @@ cp -r /data/apps/stackhub/cockpit/nginxproxymanager/build/* /usr/share/cockpit/n # mkdir /usr/share/cockpit/backup # cp -r /data/apps/stackhub/cockpit/kopia/build/* /usr/share/cockpit/backup ## install myapps -cp -r /data/apps/stackhub/appmanage/static/images /data/apps/stackhub/cockpit/myapps/build/static +#cp -r /data/apps/stackhub/appmanage/static/images /data/apps/stackhub/cockpit/myapps/build/static mkdir /usr/share/cockpit/myapps cp -r /data/apps/stackhub/cockpit/myapps/build/* /usr/share/cockpit/myapps diff --git a/install/update.sh b/install/update.sh index c62a4cf9..3a3713b1 100644 --- a/install/update.sh +++ b/install/update.sh @@ -255,7 +255,6 @@ new_myapp_version=$(cat /data/apps/stackhub/cockpit/myapps/build/manifest.json | if [ "$old_myapps_version" \< "$new_myapp_version" ]; then echo "start to update myapps..." rm -rf /usr/share/cockpit/myapps/* - cp -r /data/apps/stackhub/appmanage/static/images /data/apps/stackhub/cockpit/myapps/build/static cp -r /data/apps/stackhub/cockpit/myapps/build/* /usr/share/cockpit/myapps rm -f /usr/share/cockpit/myapps/config.json cp /tmp/config.json /usr/share/cockpit/myapps/config.json