Recreated nix files
This commit is contained in:
@@ -9,7 +9,6 @@ if [ ! -d "$SOURCE_DIR" ]; then
|
||||
exit 1
|
||||
fi
|
||||
# Use rsync to copy files, overwriting symlinks and existing files
|
||||
# --delete removes files in DEST_DIR that are not in SOURCE_DIR
|
||||
# --no-group --no-owner preserves your user ownership
|
||||
rsync -av --no-group --no-owner "$SOURCE_DIR/" "$DEST_DIR/"
|
||||
echo "Config files copied from $SOURCE_DIR to $DEST_DIR. Symlinks replaced with editable files."
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
set -euo pipefail
|
||||
# Example of how to execute a script
|
||||
# Path to the script to execute
|
||||
echo "Current directory: $(pwd)"
|
||||
COPY_SCRIPT="./copy_stuff.sh"
|
||||
# Check if the script exists
|
||||
if [ ! -f "$COPY_SCRIPT" ]; then
|
||||
|
||||
Reference in New Issue
Block a user