From c20cc511fffb7a475105b23c841b193975fdc6fc Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 27 Feb 2025 09:47:57 +0900 Subject: minor update copy.sh --- copy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/copy.sh b/copy.sh index a055e651..69641fda 100755 --- a/copy.sh +++ b/copy.sh @@ -596,9 +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" + BACKUP_FILEw="$DIRPATHw-backup-$BACKUP_DIR/UserModules" + if [ -f "$BACKUP_FILEw" ]; then + cp -f "$BACKUP_FILEw" "$DIRPATHw/UserModules" fi break -- cgit v1.2.3