Added a openRC daemon

This commit is contained in:
Pascal Jäger
2021-10-24 02:14:00 +02:00
committed by Antynea
parent 02b925e4b5
commit 63c3493504

View File

@@ -48,16 +48,14 @@ uninstall:
@rm -f "$(DESTDIR)/etc/default/grub-btrfs/config"
@rm -f "$(DESTDIR)/etc/grub.d/41_snapshots-btrfs"
@if [[ $(SYSTEMD) = true ]]; then \
rm -f "$(LIB_DIR)/systemd/system/" grub-btrfs.path; \
rm -f "$(LIB_DIR)/systemd/system/" grub-btrfs.service; \
rm -f "$(LIB_DIR)/systemd/system/grub-btrfs.path; \
rm -f "$(LIB_DIR)/systemd/system/grub-btrfs.service; \
fi
@# OpenRC detected on system, install OpenRC daemon
@if [[ $(OPENRC) = true ]]; then \
rm -f "$(BIN_DIR)" grub-btrfs.openrcbin; \
rm -f "$(SYSCONFDIR)/init.d/" grub-btrfs.openrc; \
rm -f "$(BIN_DIR)/grub-btrfs.openrcbin; \
rm -f "$(SYSCONFDIR)/init.d/grub-btrfs.openrc; \
fi
@rm -f "$(LIB_DIR)/systemd/system/grub-btrfs.service"
@rm -f "$(LIB_DIR)/systemd/system/grub-btrfs.path"
@rm -f "$(LIB_DIR)/initcpio/install/grub-btrfs-overlayfs"
@rm -f "$(LIB_DIR)/initcpio/hooks/grub-btrfs-overlayfs"
@# Arch Linux UNlike distros only :