16 lines
576 B
Diff
16 lines
576 B
Diff
|
Index: grub-btrfs-4.9/Makefile
|
||
|
===================================================================
|
||
|
--- grub-btrfs-4.9.orig/Makefile
|
||
|
+++ grub-btrfs-4.9/Makefile
|
||
|
@@ -9,10 +9,6 @@ LIB_DIR = $(DESTDIR)$(PREFIX)/lib
|
||
|
.PHONY: install uninstall help
|
||
|
|
||
|
install:
|
||
|
- @if test "$(shell id -u)" != 0; then \
|
||
|
- echo "You are not root, run this target as root please."; \
|
||
|
- exit 1; \
|
||
|
- fi
|
||
|
@install -Dm755 -t "$(DESTDIR)/etc/grub.d/" 41_snapshots-btrfs
|
||
|
@install -Dm644 -t "$(DESTDIR)/etc/default/grub-btrfs/" config
|
||
|
@install -Dm644 -t "$(LIB_DIR)/systemd/system/" grub-btrfs.service
|