|
|
|
@ -111,12 +111,18 @@ if [ $containerExist -eq 0 ]; then
@@ -111,12 +111,18 @@ if [ $containerExist -eq 0 ]; then
|
|
|
|
|
echo "启动相册容器中..." |
|
|
|
|
dockerStartAlbumContainer "${containerName}" "${album_path}" |
|
|
|
|
docker ps | grep "${containerName}" |
|
|
|
|
downloadSamplesPhotos "${album_path}" |
|
|
|
|
createShortcuts "album" |
|
|
|
|
ip=`getLocalIp` |
|
|
|
|
echo "✅✅" |
|
|
|
|
echo "相册系统已成功安装,并在桌面创建了相册系统的快捷方式,可双击打开" |
|
|
|
|
echo "还可以在浏览器输入:http://${ip}:8181/ 打开" |
|
|
|
|
echo "" |
|
|
|
|
|
|
|
|
|
read -p "如果是第一次安装,需要下载演示图片吗?(Y/N): " confirm |
|
|
|
|
if [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]]; then |
|
|
|
|
downloadSamplesPhotos "${album_path}" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "" |
|
|
|
|
echo "升级系统到最新版..." |
|
|
|
|