Skip to content

Commit

Permalink
use the correct variable
Browse files Browse the repository at this point in the history
  • Loading branch information
UriHerrera committed Aug 21, 2023
1 parent 25d6b60 commit 2f388e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions usr/bin/nuts-cru
Expand Up @@ -339,7 +339,7 @@ mount "$NUTS_DIR_ISO"/casper/filesystem.squashfs "$NUTS_DIR_SQS" >"$OUTPUT_FILE"

puts_info "Updating ${CURRENT_DIST^}, continuing..."

dl_file https://raw.githubusercontent.com/Nitrux/nuts/main/tmp/rsync-exclude.list >"$OUTPUT_FILE"
dl_file "https://raw.githubusercontent.com/Nitrux/nuts/$NUTS_BRANCH/tmp/rsync-exclude.list" >"$OUTPUT_FILE"

SOURCE_DIR="$NUTS_DIR_SQS"
DESTINATION_DIR="/"
Expand All @@ -362,8 +362,8 @@ puts_success "Success! Update has been applied."

puts_info "Calling the $TOOL_NAME Cleanup Crew, continuing..."

CLEANUP_SCRIPT_URL="https://raw.githubusercontent.com/Nitrux/nuts/main/tmp/nuts-ccu"
FILE_LIST_URL="https://raw.githubusercontent.com/Nitrux/nuts/main/tmp/nuts-cc-file.list"
CLEANUP_SCRIPT_URL="https://raw.githubusercontent.com/Nitrux/nuts/$NUTS_BRANCH/tmp/nuts-ccu"
FILE_LIST_URL="https://raw.githubusercontent.com/Nitrux/nuts/$NUTS_BRANCH/tmp/nuts-cc-file.list"

dl_file "$CLEANUP_SCRIPT_URL" >"$OUTPUT_FILE" || { puts_error "Failed to download the cleanup script, quitting."; exit 1; }
dl_file "$FILE_LIST_URL" >"$OUTPUT_FILE" || { puts_error "Failed to download the file list, quitting."; exit 1; }
Expand Down

0 comments on commit 2f388e8

Please sign in to comment.