From 2ab2c2fb08e0ae155bda42095b3acfaaf7af5cea Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Thu, 3 Sep 2026 16:03:01 -0700 Subject: [PATCH] Makes the install and import scripts reference the user\'s home directory instead of the parent directory. --- import.sh | 4 ++-- install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/import.sh b/import.sh index a57d08c..989cc52 100755 --- a/import.sh +++ b/import.sh @@ -6,8 +6,8 @@ source "$SCRIPT_DIR/install_files" cd "$SCRIPT_DIR" || exit 1 for file in "${IMPORT_FILES[@]}"; do - if [ -e "../$file" ] || [ -L "../$file" ]; then - cp -r "../$file" ./ + if [ -e "$HOME/$file" ] || [ -L "$HOME/$file" ]; then + cp -r "$HOME/$file" ./ fi done diff --git a/install.sh b/install.sh index 3bb8063..ace5beb 100755 --- a/install.sh +++ b/install.sh @@ -8,7 +8,7 @@ cd "$SCRIPT_DIR" || exit 1 # Copy files and directories for file in "${INSTALL_FILES[@]}"; do if [ -e "./$file" ] || [ -L "./$file" ]; then - cp -r "./$file" ../ + cp -r "./$file" "$HOME/" fi done