X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=arch-init-chroot;fp=arch-init-chroot;h=9c3fc48067a16b3e72ec5dc920a0da1f7353337a;hb=9ff459d81a21b8154340752d20288104c50b798c;hp=e4dcb41a82f1b8e514d20851ccc0181af2b261fa;hpb=593c7e9993e4f2110846f869f468c4247a349700;p=automated-distro-installer diff --git a/arch-init-chroot b/arch-init-chroot index e4dcb41..9c3fc48 100755 --- a/arch-init-chroot +++ b/arch-init-chroot @@ -3,6 +3,9 @@ set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR for x in /etc/*.pacorig; do + # This started breaking immediately when I stoped doing genfstab. + # It's probably not needed anymore + [[ -e $x ]] || break mv $x ${x%.pacorig} done