bugfix
This commit is contained in:
1
終止腳本.sh
1
終止腳本.sh
@@ -1,6 +1,7 @@
|
||||
if [ -f "${0%/*}/tools/tools.sh" ]; then
|
||||
MODDIR="${0%/*}"
|
||||
operate="kill_script"
|
||||
conf_path="${0%/*}/backup_settings.conf"
|
||||
[[ $(find "$MODDIR" -maxdepth 1 -name "*.zip" -type f 2>/dev/null) ]] && echo "警告!此腳本不能拿來更新腳本" && exit 2
|
||||
. "$MODDIR/tools/tools.sh"
|
||||
echoRgb "等待腳本停止中,請稍後....."
|
||||
|
||||
Reference in New Issue
Block a user