Removing old scripts and install new one

This commit is contained in:
Bandie 2019-12-11 19:55:08 +01:00
parent 271c8677d8
commit ea242fd0af
Signed by: Bandie
GPG Key ID: 843D7FA93BA46312

View File

@ -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"