aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh5
-rwxr-xr-xmod.sh1
2 files changed, 2 insertions, 4 deletions
diff --git a/install.sh b/install.sh
index 398d593..7e478aa 100755
--- a/install.sh
+++ b/install.sh
@@ -40,9 +40,8 @@ mkdir /mnt/efi
mount ${PART}1 /mnt/efi
pacstrap /mnt base
genfstab -U /mnt >> /mnt/etc/fstab
-cd $SCRIPTPATH/..
-cp -r dotfiles /mnt
-touch dotfiles/installed
+cp -r . /mnt
+touch installed
fi
#echo "arch-chroot into the new system and run dotfiles/build.sh"
arch-chroot /mnt << EOF
diff --git a/mod.sh b/mod.sh
index 9598213..83bf360 100755
--- a/mod.sh
+++ b/mod.sh
@@ -2,4 +2,3 @@
export TMP=`mktemp`
sed 's/supplicant-%I/supplicant/g' /usr/lib/systemd/system/wpa_supplicant@.service > $TMP
mv $TMP /usr/lib/systemd/system/wpa_supplicant@.service
-rm $TMP