nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 1.7 kB view raw
1diff --git a/ntfsprogs/Makefile.am b/ntfsprogs/Makefile.am 2index 08228322..a390d8c7 100644 3--- a/ntfsprogs/Makefile.am 4+++ b/ntfsprogs/Makefile.am 5@@ -165,7 +165,7 @@ extras: libs $(EXTRA_PROGRAMS) 6 7 if ENABLE_MOUNT_HELPER 8 install-exec-hook: 9- $(INSTALL) -d $(DESTDIR)/$(sbindir) 10+ $(INSTALL) -d $(DESTDIR)$(sbindir) 11 $(LN_S) -f $(sbindir)/mkntfs $(DESTDIR)$(sbindir)/mkfs.ntfs 12 13 install-data-hook: 14@@ -173,7 +173,7 @@ install-data-hook: 15 $(LN_S) -f mkntfs.8 $(DESTDIR)$(man8dir)/mkfs.ntfs.8 16 17 uninstall-local: 18- $(RM) -f $(DESTDIR)/sbin/mkfs.ntfs 19+ $(RM) -f $(DESTDIR)$(sbindir)/mkfs.ntfs 20 $(RM) -f $(DESTDIR)$(man8dir)/mkfs.ntfs.8 21 endif 22 23diff --git a/src/Makefile.am b/src/Makefile.am 24index 8d984083..ea407067 100644 25--- a/src/Makefile.am 26+++ b/src/Makefile.am 27@@ -66,9 +66,9 @@ endif 28 29 if ENABLE_MOUNT_HELPER 30 install-exec-local: install-rootbinPROGRAMS 31- $(MKDIR_P) "$(DESTDIR)/sbin" 32- $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)/sbin/mount.ntfs-3g" 33- $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g" 34+ $(MKDIR_P) "$(DESTDIR)$(rootsbindir)" 35+ $(LN_S) -f "$(rootbindir)/ntfs-3g" "$(DESTDIR)$(rootsbindir)/mount.ntfs-3g" 36+ $(LN_S) -f "$(rootbindir)/lowntfs-3g" "$(DESTDIR)$(rootsbindir)/mount.lowntfs-3g" 37 38 install-data-local: install-man8 39 $(LN_S) -f ntfs-3g.8 "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8" 40@@ -76,7 +76,7 @@ install-data-local: install-man8 41 42 uninstall-local: 43 $(RM) -f "$(DESTDIR)$(man8dir)/mount.ntfs-3g.8" 44- $(RM) -f "$(DESTDIR)/sbin/mount.ntfs-3g" "$(DESTDIR)/sbin/mount.lowntfs-3g" 45+ $(RM) -f "$(DESTDIR)$(rootsbindir)/mount.ntfs-3g" "$(DESTDIR)$(rootsbindir)/mount.lowntfs-3g" 46 endif 47 48 endif # ENABLE_NTFS_3G