arch fixes plus name subvols by distro in prep for multi-distro
[automated-distro-installer] / arch-init-chroot
index e4dcb41a82f1b8e514d20851ccc0181af2b261fa..9c3fc48067a16b3e72ec5dc920a0da1f7353337a 100755 (executable)
@@ -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