Browse Source

fix default install path

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

8
install.sh

@ -139,7 +139,7 @@ dockerStartAlbumContainer () { @@ -139,7 +139,7 @@ dockerStartAlbumContainer () {
fi
if [ -z "${album_path}" ]; then
homePath=`getHomePath`
album_path="${homePath}/Album_by_filesite"
album_path="${homePath}/Desktop/Album_by_filesite"
fi
docker run --name "${album_name}" \
@ -160,7 +160,7 @@ dockerStartVideoContainer () { @@ -160,7 +160,7 @@ dockerStartVideoContainer () {
fi
if [ -z "${blog_path}" ]; then
homePath=`getHomePath`
blog_path="${homePath}/Videos_by_filesite"
blog_path="${homePath}/Desktop/Videos_by_filesite"
fi
docker run --name "${blog_name}" \
@ -330,7 +330,7 @@ if [ $containerExist -eq 0 ]; then @@ -330,7 +330,7 @@ if [ $containerExist -eq 0 ]; then
read -p "请输入相册保存绝对路径后回车(默认保存到桌面Album_by_filesite): " album_path
if [ -z "${album_path}" ]; then
homePath=`getHomePath`
album_path="${homePath}/Album_by_filesite"
album_path="${homePath}/Desktop/Album_by_filesite"
fi
if [ ! -d "${album_path}" ]; then
@ -365,7 +365,7 @@ if [ $containerExist -eq 0 ]; then @@ -365,7 +365,7 @@ if [ $containerExist -eq 0 ]; then
read -p "请输入视频保存绝对路径后回车(默认保存到桌面Videos_by_filesite): " vlog_path
if [ -z "${vlog_path}" ]; then
homePath=`getHomePath`
vlog_path="${homePath}/Videos_by_filesite"
vlog_path="${homePath}/Desktop/Videos_by_filesite"
fi
if [ ! -d "${vlog_path}" ]; then

Loading…
Cancel
Save