From 2823aa45c3fd5aa0a2681d0cee3a4a00849ce108 Mon Sep 17 00:00:00 2001 From: atropos1789 <128442611+atropos1789@users.noreply.github.com> Date: Sat, 1 Apr 2023 00:27:03 -0400 Subject: [PATCH] Update install.sh Changing the hardcoded xinitrc location to match the envirinmental variable --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 02a17ee..06e714d 100755 --- a/install.sh +++ b/install.sh @@ -46,10 +46,10 @@ $ROOT_CMD cp -f "extra/xsetup.sh" "/etc/lemurs/xsetup.sh" if [ $? -ne 0 ]; then exit 1; fi # Copy over default xinitrc -if [ -f .xinitrc ] +if [ -f $XINITRC ] then echo 'Copy over existing xinitrc' - $ROOT_CMD cp -f "~/.xinitrc" "/etc/lemurs/wms/xinitrc" + $ROOT_CMD cp -f "$XINITRC" "/etc/lemurs/wms/xinitrc" fi # Cache the current user