Browse Source

improve sample download

master
filesite 5 months ago
parent
commit
dc239eec60
  1. 8
      install.sh

8
install.sh

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

Loading…
Cancel
Save