OSDN Git Service

fix instantARCH comment
authorpaperbenni <paperbenni@gmail.com>
Fri, 27 Nov 2020 22:07:40 +0000 (23:07 +0100)
committerpaperbenni <paperbenni@gmail.com>
Fri, 27 Nov 2020 22:07:40 +0000 (23:07 +0100)
chroot/chroot.sh
lang/locale.sh
network/network.sh
pacstrap/pacstrap.sh

index 4ad9af5..3516db2 100755 (executable)
@@ -19,7 +19,8 @@ fi
 # 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
index fc55bb1..12837f5 100755 (executable)
@@ -12,7 +12,8 @@ fi
 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
index 5e139e8..1b6565e 100755 (executable)
@@ -17,7 +17,8 @@ echo "127.0.0.1 localhost" >/etc/hosts
 {
     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
index 8f882ca..d7169c0 100755 (executable)
@@ -50,5 +50,6 @@ cd /root || exit 1
 cp -r ./instantARCH /mnt/root/instantARCH
 {
     cat /etc/pacman.d/mirrorlist
+    echo ''
     echo '# modified by instantARCH'
 } >/mnt/etc/pacman.d/mirrorlist