备份脚本检查名称写错了,将检测到退出删除
This commit is contained in:
parent
4fe0954131
commit
49199ef77f
@ -4,7 +4,6 @@ declare cron=$2
|
|||||||
|
|
||||||
if [[ -f "${path}/update.sh" ]];then
|
if [[ -f "${path}/update.sh" ]];then
|
||||||
echo "该路径文件已经存在"
|
echo "该路径文件已经存在"
|
||||||
exit
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$version" in
|
case "$version" in
|
||||||
|
@ -60,7 +60,6 @@ case $pick in
|
|||||||
fi
|
fi
|
||||||
if [[ -f "${path}/up-docker_compose.sh" ]];then
|
if [[ -f "${path}/up-docker_compose.sh" ]];then
|
||||||
echo "该路径文件已经存在"
|
echo "该路径文件已经存在"
|
||||||
exit
|
|
||||||
fi
|
fi
|
||||||
declare web_path
|
declare web_path
|
||||||
read -p "请输入数据目录,默认 /var/www :" web_path
|
read -p "请输入数据目录,默认 /var/www :" web_path
|
||||||
|
Loading…
Reference in New Issue
Block a user