mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-07 06:44:35 +08:00
move rmdir to end of uninstall section
If rmdir fails, other commands are not executed, so move rmdir to end of uninstall section
This commit is contained in:
2
Makefile
2
Makefile
@@ -16,8 +16,8 @@ install:
|
||||
uninstall:
|
||||
rm -f "$(DESTDIR)/etc/grub.d/41_snapshots-btrfs"
|
||||
rm -f "$(DESTDIR)/etc/default/grub-btrfs/config"
|
||||
rmdir --ignore-fail-on-non-empty "$(DESTDIR)/etc/default/grub-btrfs"
|
||||
rm -f "$(LIB_DIR)/systemd/system/grub-btrfs.service"
|
||||
rm -f "$(LIB_DIR)/systemd/system/grub-btrfs.path"
|
||||
rm -f "$(SHARE_DIR)/licenses/$(PKGNAME)/LICENSE"
|
||||
rm -f "$(DESTDIR)/boot/grub/grub-btrfs.cfg"
|
||||
rmdir --ignore-fail-on-non-empty "$(DESTDIR)/etc/default/grub-btrfs"
|
||||
|
||||
Reference in New Issue
Block a user