image source update

This commit is contained in:
qiaofeng1227 2023-06-13 16:08:01 +08:00
parent 2cb694363f
commit 60d45e7b51
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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