removed TABs in code

This commit is contained in:
Matteo Rossini 2022-01-02 11:36:37 +01:00
parent 600396fd7c
commit dc8fbc03f1

View file

@ -122,14 +122,14 @@ lookkernel() {
/sbin/lilo -v /sbin/lilo -v
fi fi
elif [ -e /boot/grub ]&&[ -x /usr/sbin/grub-install ]; then elif [ -e /boot/grub ]&&[ -x /usr/sbin/grub-install ]; then
echo -e "\nFound grub. Do you want to run now: /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg ? (Y/n)" echo -e "\nFound grub. Do you want to run now: /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg ? (Y/n)"
[ ! "$PLUGIN_ZLOOKKERNEL_PROMPT" == "off" ] && answer [ ! "$PLUGIN_ZLOOKKERNEL_PROMPT" == "off" ] && answer
if [ "$ANSWER" != "n" ] && [ "$ANSWER" != "N" ]; then if [ "$ANSWER" != "n" ] && [ "$ANSWER" != "N" ]; then
if ! /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg ;then if ! /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg ;then
echo "You need to fix your grub configuration NOW. Then press return to continue." echo "You need to fix your grub configuration NOW. Then press return to continue."
read read
fi fi
fi fi
else else
echo -e "\nWARNING! slackpkg can't found your bootloader configuration. You have to fix it yourself\n" echo -e "\nWARNING! slackpkg can't found your bootloader configuration. You have to fix it yourself\n"
echo " slackpkg can't found your bootloader configuration. You have to fix it yourself" >>$TMPDIR/error.log echo " slackpkg can't found your bootloader configuration. You have to fix it yourself" >>$TMPDIR/error.log