Recreated nix files
This commit is contained in:
+290
-290
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
# Source and destination directories
|
# Source and destination directories
|
||||||
SOURCE_DIR="./assets/copy_stuff/"
|
SOURCE_DIR="../../assets/copy_stuff/"
|
||||||
DEST_DIR="$HOME"
|
DEST_DIR="$HOME"
|
||||||
# Check if source directory exists
|
# Check if source directory exists
|
||||||
if [ ! -d "$SOURCE_DIR" ]; then
|
if [ ! -d "$SOURCE_DIR" ]; then
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
# Example of how to execute a script
|
# Example of how to execute a script
|
||||||
# Path to the script to execute
|
# 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
|
# Check if the script exists
|
||||||
if [ ! -f "$COPY_SCRIPT" ]; then
|
if [ ! -f "$COPY_SCRIPT" ]; then
|
||||||
echo "Error: Script $COPY_SCRIPT does not exist."
|
echo "Error: Script $COPY_SCRIPT does not exist."
|
||||||
|
|||||||
Reference in New Issue
Block a user