Skip to content

Commit

Permalink
deploy: fix LenovoLegionLinux.hook faild message with mkinitcpio
Browse files Browse the repository at this point in the history
Closes: #214
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
  • Loading branch information
MrDuartePT committed May 5, 2024
1 parent 1d870ad commit af2bc92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deploy/LenovoLegionLinux
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ Main() {
dracut-rebuild
elif [[ "$installed" =~ dracut ]] ; then
dracut -f --regenerate-all --uefi
#elif [[ "$installed" =~ mkinitcpio ]] ; then
# mkinitcpio -P
elif [[ "$installed" =~ mkinitcpio ]] ; then
# Pevents mkinitcpio of run twices
# mkinitcpio -P
echo "Using mkinitcpio arch linux hook"
else
local progname="$(basename "$0")"
echo "warning: $progname: Cannot perform the requested operation due to missing package(s)."
Expand Down

0 comments on commit af2bc92

Please sign in to comment.