diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-02-27 09:47:51 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-02-27 09:47:51 +0900 |
| commit | 831550b9fb619499b01f4923dfc449321e8ccb1e (patch) | |
| tree | 944cec8ed0cd39b0270d48c321457c66b6004455 | |
| parent | 37d0c468686b7202baa40b0cdc27eec74a8768dd (diff) | |
minor update copy.sh
| -rwxr-xr-x | copy.sh | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 ;; |
