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