ok sorry (not) we're using micro now

dialog
Matt C 3 years ago
parent f1d4a92573
commit a911136979

@ -176,10 +176,10 @@ fi
inf "Setting up base Crystal System" inf "Setting up base Crystal System"
crystalstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager grub crystal-grub-theme man-db man-pages texinfo nano sudo curl archlinux-keyring neofetch crystalstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager grub crystal-grub-theme man-db man-pages texinfo micro sudo curl archlinux-keyring neofetch
if [[ ! "$?" == "0" ]]; then if [[ ! "$?" == "0" ]]; then
inf "CrystalStrap had some error. Retrying." inf "CrystalStrap had some error. Retrying."
crystalstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager grub crystal-grub-theme man-db man-pages texinfo nano sudo curl archlinux-keyring neofetch crystalstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager grub crystal-grub-theme man-db man-pages texinfo micro sudo curl archlinux-keyring neofetch
fi fi
if [[ "$EFI" == "yes" ]]; then if [[ "$EFI" == "yes" ]]; then

@ -36,31 +36,10 @@ echo "MORE=$response"
MORE="$response" MORE="$response"
if [[ "$MORE" == "y" || "$MORE" == "Y" ]]; then if [[ "$MORE" == "y" || "$MORE" == "Y" ]]; then
prompt "Preferred editor"
PGRM="$response"
echo "PGRM=$response"
if [[ "$PGRM" == *"vim"* ]]; then
inf "The only *vim* package we support is nvim. Sorry!"
PGRM="neovim"
fi
inf "Checking if we have ${PGRM} already.."
which ${PGRM}
if [[ "$?" == "1" ]]; then
inf "Attempting to install ${PGRM}"
pacman -Sy ${PGRM} --noconfirm
fi
if [[ "$PGRM" == "neovim" ]]; then
PGRM="nvim"
fi
inf "When we open the file, please remove the leading # before any locales you need." inf "When we open the file, please remove the leading # before any locales you need."
inf "Then, save and exit.\nPress enter." inf "Then, save and exit.\nPress enter."
read read
${PGRM} /etc/locale.gen micro /etc/locale.gen
fi fi
inf "Generating selected locales." inf "Generating selected locales."

Loading…
Cancel
Save