pacman -S --needed debootstrap schroot
fi
-# Install debian/buster chroot using debootstrap,
+# Install debian/buster chroot using debootstrap,
# any /etc/ config must be done after this point!
/usr/sbin/debootstrap buster /opt/chroot/$chrootdir \
http://ftp.uk.debian.org/debian
echo "Line range to delete from $schroot_main_config: $lines"
echo "Creating backup copy of $schroot_main_config in $backup_schroot_config"
- cp $schroot_main_config $backup_schroot_config
+ cp $schroot_main_config $backup_schroot_config
echo "Script will re-write $schroot_main_config by"
echo "removing the old $chrootdir profile"
sed -e "$lines"'d' $backup_schroot_config > $schroot_main_config