From: paperbenni Date: Fri, 27 Nov 2020 22:07:40 +0000 (+0100) Subject: fix instantARCH comment X-Git-Url: http://git.osdn.net/view?p=instantos%2FinstantARCH.git;a=commitdiff_plain;h=be8e2917af510ff19601a6e5371fef76220c136a fix instantARCH comment --- diff --git a/chroot/chroot.sh b/chroot/chroot.sh index 4ad9af5..3516db2 100755 --- a/chroot/chroot.sh +++ b/chroot/chroot.sh @@ -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 diff --git a/lang/locale.sh b/lang/locale.sh index fc55bb1..12837f5 100755 --- a/lang/locale.sh +++ b/lang/locale.sh @@ -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 diff --git a/network/network.sh b/network/network.sh index 5e139e8..1b6565e 100755 --- a/network/network.sh +++ b/network/network.sh @@ -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 diff --git a/pacstrap/pacstrap.sh b/pacstrap/pacstrap.sh index 8f882ca..d7169c0 100755 --- a/pacstrap/pacstrap.sh +++ b/pacstrap/pacstrap.sh @@ -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