Makes the install and import scripts reference the user\'s home directory instead of the parent directory.

This commit is contained in:
2026-09-03 16:03:01 -07:00
parent 56aca8a094
commit 2ab2c2fb08
2 changed files with 3 additions and 3 deletions

View File

@@ -6,8 +6,8 @@ source "$SCRIPT_DIR/install_files"
cd "$SCRIPT_DIR" || exit 1 cd "$SCRIPT_DIR" || exit 1
for file in "${IMPORT_FILES[@]}"; do for file in "${IMPORT_FILES[@]}"; do
if [ -e "../$file" ] || [ -L "../$file" ]; then if [ -e "$HOME/$file" ] || [ -L "$HOME/$file" ]; then
cp -r "../$file" ./ cp -r "$HOME/$file" ./
fi fi
done done

View File

@@ -8,7 +8,7 @@ cd "$SCRIPT_DIR" || exit 1
# Copy files and directories # Copy files and directories
for file in "${INSTALL_FILES[@]}"; do for file in "${INSTALL_FILES[@]}"; do
if [ -e "./$file" ] || [ -L "./$file" ]; then if [ -e "./$file" ] || [ -L "./$file" ]; then
cp -r "./$file" ../ cp -r "./$file" "$HOME/"
fi fi
done done