Browse Source

install script update

master
filesite 5 months ago
parent
commit
07e28fbbf4
  1. 9
      install.sh

9
install.sh

@ -111,14 +111,19 @@ if [ $containerExist -eq 0 ]; then
echo "启动相册容器中..." echo "启动相册容器中..."
dockerStartAlbumContainer "${containerName}" "${album_path}" dockerStartAlbumContainer "${containerName}" "${album_path}"
docker ps | grep "${containerName}" docker ps | grep "${containerName}"
echo "升级系统到最新版..."
upgradeMacheteInContainers "album"
downloadSamplesPhotos "${album_path}" downloadSamplesPhotos "${album_path}"
createShortcuts "album" createShortcuts "album"
ip=`getLocalIp` ip=`getLocalIp`
echo "✅✅" echo "✅✅"
echo "相册系统已成功安装,并在桌面创建了相册系统的快捷方式,可双击打开" echo "相册系统已成功安装,并在桌面创建了相册系统的快捷方式,可双击打开"
echo "还可以在浏览器输入:http://${ip}:8181/ 打开" echo "还可以在浏览器输入:http://${ip}:8181/ 打开"
echo ""
echo "升级系统到最新版..."
echo "⚠"
echo "如果更新最新代码时长时间无法连接源码网址,可按ctrl+c取消下载,稍后手动执行./upgrade.sh更新"
echo ""
upgradeMacheteInContainers "album"
fi fi
theend theend

Loading…
Cancel
Save