Skip to content

Commit

Permalink
Fix mkinitcpio run twice
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDuartePT authored Oct 7, 2023
1 parent fe30cd3 commit 62e33f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/LenovoLegionLinux
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ Main() {
dracut-rebuild
elif [[ "$installed" =~ dracut ]] ; then
dracut -f --regenerate-all --uefi
elif [[ "$installed" =~ mkinitcpio ]] ; then
mkinitcpio -P
#elif [[ "$installed" =~ mkinitcpio ]] ; then
# mkinitcpio -P
else
local progname="$(basename "$0")"
echo "warning: $progname: Cannot perform the requested operation due to missing package(s)."
fi
}

Main "$@"
Main "$@"

0 comments on commit 62e33f4

Please sign in to comment.