aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-04-15 16:12:05 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-04-15 16:12:05 -0400
commitc76dae67ad589ed084358edec7a9d1ffdc5273e2 (patch)
treeab8948f1a118d36e84050a3b712640a24249be13
parenta1ebb6a59aea2e16631e5f1febfcc5149a686c89 (diff)
moved declaration of completion to end
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 43d59e8..d2aaf88 100755
--- a/install.sh
+++ b/install.sh
@@ -4,7 +4,6 @@ if [ $(id -u) -ne 0 ]
exit
fi
if [ ! -e installed ]; then
-touch installed
SCRIPTPATH=$(dirname "$(readlink -f "$0")")
if [ -z $1 ]; then
@@ -43,6 +42,7 @@ pacstrap /mnt base
genfstab -U /mnt >> /mnt/etc/fstab
cd $SCRIPTPATH/..
cp -r dotfiles /mnt
+touch installed
fi
#echo "arch-chroot into the new system and run dotfiles/build.sh"
arch-chroot /mnt << EOF