mirror of
https://github.com/Bandie/grub2-signing-extension.git
synced 2024-04-01 15:51:26 +00:00
Removing old scripts and install new one
This commit is contained in:
parent
271c8677d8
commit
ea242fd0af
12
Makefile
12
Makefile
@ -6,12 +6,14 @@ all:
|
|||||||
@printf "Nothing to make. Run make install.\n"
|
@printf "Nothing to make. Run make install.\n"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -D -m744 sbin/grub2-verify /usr/sbin/grub2-verify
|
@printf "Check for old scripts and remove them...\n"
|
||||||
install -D -m744 sbin/grub2-sign /usr/sbin/grub2-sign
|
rm -f /usr/sbin/grub2-{verify,sign,unsign,update-kernel-signature}
|
||||||
install -D -m744 sbin/grub2-unsign /usr/sbin/grub2-unsign
|
install -D -m744 sbin/grub-verify /usr/sbin/grub-verify
|
||||||
install -D -m744 sbin/grub2-update-kernel-signature /usr/sbin/grub2-update-kernel-signature
|
install -D -m744 sbin/grub-sign /usr/sbin/grub-sign
|
||||||
|
install -D -m744 sbin/grub-unsign /usr/sbin/grub-unsign
|
||||||
|
install -D -m744 sbin/grub-update-kernel-signature /usr/sbin/grub-update-kernel-signature
|
||||||
@printf "Done.\n"
|
@printf "Done.\n"
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm /usr/sbin/grub2-{verify,sign,unsign,update-kernel-signature}
|
rm -f /usr/sbin/grub-{verify,sign,unsign,update-kernel-signature}
|
||||||
@printf "Done.\n"
|
@printf "Done.\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user