Added a openRC daemon

This commit is contained in:
Pascal Jäger
2021-11-02 16:18:04 +01:00
committed by Antynea
parent 02b925e4b5
commit 63c3493504
+4 -6
View File
@@ -48,16 +48,14 @@ uninstall:
@rm -f "$(DESTDIR)/etc/default/grub-btrfs/config" @rm -f "$(DESTDIR)/etc/default/grub-btrfs/config"
@rm -f "$(DESTDIR)/etc/grub.d/41_snapshots-btrfs" @rm -f "$(DESTDIR)/etc/grub.d/41_snapshots-btrfs"
@if [[ $(SYSTEMD) = true ]]; then \ @if [[ $(SYSTEMD) = true ]]; then \
rm -f "$(LIB_DIR)/systemd/system/" grub-btrfs.path; \ 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.service; \
fi fi
@# OpenRC detected on system, install OpenRC daemon @# OpenRC detected on system, install OpenRC daemon
@if [[ $(OPENRC) = true ]]; then \ @if [[ $(OPENRC) = true ]]; then \
rm -f "$(BIN_DIR)" grub-btrfs.openrcbin; \ rm -f "$(BIN_DIR)/grub-btrfs.openrcbin; \
rm -f "$(SYSCONFDIR)/init.d/" grub-btrfs.openrc; \ rm -f "$(SYSCONFDIR)/init.d/grub-btrfs.openrc; \
fi 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/install/grub-btrfs-overlayfs"
@rm -f "$(LIB_DIR)/initcpio/hooks/grub-btrfs-overlayfs" @rm -f "$(LIB_DIR)/initcpio/hooks/grub-btrfs-overlayfs"
@# Arch Linux UNlike distros only : @# Arch Linux UNlike distros only :