Recreated nix files

This commit is contained in:
2026-03-03 18:27:43 +01:00
parent 23d0df7265
commit 967b0cd000
3 changed files with 293 additions and 292 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
# Source and destination directories
SOURCE_DIR="./assets/copy_stuff/"
SOURCE_DIR="../../assets/copy_stuff/"
DEST_DIR="$HOME"
# Check if source directory exists
if [ ! -d "$SOURCE_DIR" ]; then
+2 -1
View File
@@ -2,7 +2,8 @@
set -euo pipefail
# Example of how to execute a script
# Path to the script to execute
COPY_SCRIPT="assets/scripts/copy_stuff.sh"
echo "Current directory: $(pwd)"
COPY_SCRIPT="./copy_stuff.sh"
# Check if the script exists
if [ ! -f "$COPY_SCRIPT" ]; then
echo "Error: Script $COPY_SCRIPT does not exist."