void-packages/srcpkgs/grub-btrfs/patches/no-root-please.patch

14 lines
397 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,6 @@
.PHONY: install uninstall clean help
install:
- @if test "$(shell id -u)" != 0; then \
- echo "You are not root, run this target as root please."; \
- exit 1; \
- fi
@echo " Installing "
@echo
@echo " :::::::: ::::::::: ::: ::: ::::::::: ::::::::: ::::::::::: ::::::::: :::::::::: :::::::: "