# fix gui not showing up
sed -i 's/^#logind-check-graphical=.*/logind-check-graphical=true/' /etc/lightdm/lightdm.conf
-echo '# modified by instantARCH' >>/etc/lightdm/lightdm.conf
+echo '
+# modified by instantARCH' >>/etc/lightdm/lightdm.conf
# needed to get internet to work
if ! [ -e /opt/topinstall ] && ! iroot partswap; then
sed -i 's/^[^#].*//g' /etc/locale.gen
cat "$INSTANTARCH"/data/lang/locale/"$(iroot locale)" >>/etc/locale.gen
-echo "# modified by instantARCH
+echo "
+# modified by instantARCH
" >>/etc/locale.gen
sleep 0.3
{
echo "::1 localhost"
echo "127.0.1.1 $NEWHOSTNAME.localdomain $NEWHOSTNAME"
- echo '# modified by instantARCH'
+ echo '
+# modified by instantARCH'
} >>/etc/hosts
pacman -S --noconfirm --needed networkmanager
cp -r ./instantARCH /mnt/root/instantARCH
{
cat /etc/pacman.d/mirrorlist
+ echo ''
echo '# modified by instantARCH'
} >/mnt/etc/pacman.d/mirrorlist