ensure we overwrite fstab to avoid duplicate entries

dialog
Matt C 3 years ago
parent 88e453afac
commit c926fae5ba

@ -174,7 +174,7 @@ sed -i 's/#GRUB_THEME/GRUB_THEME/g' /mnt/etc/default/grub
cp /usr/bin/continue.sh /mnt/. cp /usr/bin/continue.sh /mnt/.
chmod +x /mnt/continue.sh chmod +x /mnt/continue.sh
genfstab -U /mnt >> /mnt/etc/fstab genfstab -U /mnt > /mnt/etc/fstab
if [[ "$KBD" == "y" || "$KBD" == "Y" ]]; then if [[ "$KBD" == "y" || "$KBD" == "Y" ]]; then
echo ${KMP} >> /mnt/keymap echo ${KMP} >> /mnt/keymap

Loading…
Cancel
Save