aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-27 09:47:51 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-27 09:47:51 +0900
commit831550b9fb619499b01f4923dfc449321e8ccb1e (patch)
tree944cec8ed0cd39b0270d48c321457c66b6004455
parent37d0c468686b7202baa40b0cdc27eec74a8768dd (diff)
minor update copy.sh
-rwxr-xr-xcopy.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/copy.sh b/copy.sh
index a055e651..3a24ee58 100755
--- a/copy.sh
+++ b/copy.sh
@@ -596,10 +596,9 @@ if [ -d "$DIRPATHw" ]; then
done || true
# Step 4: restore Modules_Extras
- BACKUP_FILE="$DIRPATHw-backup-$BACKUP_DIR/UserModules"
- if [ -f "$BACKUP_FILE" ]; then
- cp -f "$BACKUP_FILE" "$DIRPATHw/UserModules"
- fi
+ BACKUP_FILEw="$DIRPATHw-backup-$BACKUP_DIR/UserModules"
+ if [ -f "$BACKUP_FILEw" ]; then
+ cp -f "$BACKUP_FILEw" "$DIRPATHw/UserModules"
break
;;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage