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