mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
Auto execute the grub-mkconfig command at the installation
This commit is contained in:
committed by
Pascal J
parent
5ce2dfa640
commit
7586639f48
3
Makefile
3
Makefile
@@ -63,6 +63,9 @@ install:
|
||||
@install -Dm644 -t "$(SHARE_DIR)/doc/$(PKGNAME)/" README.md
|
||||
@install -Dm644 "initramfs/readme.md" "$(SHARE_DIR)/doc/$(PKGNAME)/initramfs-overlayfs.md"
|
||||
@rm -rf "${TEMP_DIR}"
|
||||
@if command -v grub-mkconfig; then \
|
||||
grub-mkconfig -o /boot/grub/grub.cfg; \
|
||||
fi
|
||||
|
||||
uninstall:
|
||||
@echo "Uninstalling grub-btrfs"
|
||||
|
||||
Reference in New Issue
Block a user