From 226dd93b8945eb0158c689b0eccd9c48bbcac46b Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EA=B9=80=EC=96=B4=EC=A7=84?= Date: Sat, 1 Dec 2018 23:14:12 +0900 Subject: [PATCH] add overwrite option in mv commend (#38) --- setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup b/setup index d35e07b..fa2ae83 100755 --- a/setup +++ b/setup @@ -56,7 +56,7 @@ install() then log "Skipping $FILE.bak, file exists..." else - mv $MV_ARGS "$TARGET/$FILE" "$TARGET/$FILE.bak" + mv -f $MV_ARGS "$TARGET/$FILE" "$TARGET/$FILE.bak" fi done log "" -- 2.30.2