This commit is contained in:
qiaofeng1227 2023-07-20 10:04:38 +08:00
parent 6f764d2bf3
commit 886035424d

View file

@ -119,11 +119,11 @@ else
fi
# Check port used
if netstat -tuln | grep -qE ':(80|9000|5000)\s'; then
echo "Port 80 or 9000 or 5000 is already in use."
if netstat -tuln | grep -qE ':(80|9000)\s'; then
echo "Port 80 or 9000 is already in use."
exit 1
else
echo "Port 80, 9000 and 5000 are free."
echo "Port 80, 9000 are free."
fi
}
@ -336,7 +336,7 @@ if [ "${install_way}" == 'online' ] ;then
## install myapps
mkdir /usr/share/cockpit/myapps
cp -r /data/apps/plugin-myapps/build/* /usr/share/cockpit/myapps
cp -r /data/apps/plugin-myapps/logos /usr/share/cockpit/appstore/static/
cp -r /data/apps/plugin-myapps/logos /usr/share/cockpit/myapps/static/
rm -rf /data/apps/plugin-*
else
echo "install from artifact"