From 831550b9fb619499b01f4923dfc449321e8ccb1e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 27 Feb 2025 09:47:51 +0900 Subject: minor update copy.sh --- copy.sh | 7 +++---- 1 file 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 ;; -- cgit v1.2.3