diff options
-rwxr-xr-x | install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,8 @@ if [ $(id -u) -ne 0 ] then echo "Please run as root" exit fi +if [ ! -e installed ]; then +touch installed SCRIPTPATH=$(dirname "$(readlink -f "$0")") if [ -z $1 ]; then @@ -41,6 +43,7 @@ pacstrap /mnt base genfstab -U /mnt >> /mnt/etc/fstab cd $SCRIPTPATH/.. cp -r dotfiles /mnt +fi #echo "arch-chroot into the new system and run dotfiles/build.sh" arch-chroot /mnt << EOF cd dotfiles |