mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
image source update
This commit is contained in:
parent
2cb694363f
commit
60d45e7b51
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue