udisks/sbindirinstall.diff
Zbigniew Jędrzejewski-Szmek 6af4eb7150 Use the %_sbindir macro for location of umount.udisks
This way, it'll be moved to /usr/bin on systems where %_sbindir is
configured so. It'll still be accessible through the old location
thanks to the magic of symlinks. Moving of the file is important to
let the merge of /usr/sbin to be finished on upgraded systems.

While at it, stop using a glob for files in /usr/bin. Globs are
frowned upon for files in shared directories.
2026-06-08 11:59:08 +01:00

13 lines
442 B
Diff

diff --git udisks-1.0.5/tools/Makefile.am~ udisks-1.0.5/tools/Makefile.am
index 18325f7358..0aaec111ca 100644
--- udisks-1.0.5/tools/Makefile.am~
+++ udisks-1.0.5/tools/Makefile.am
@@ -54,7 +54,7 @@ udisks_LDADD = \
$(DBUS_GLIB_LIBS) \
$(POLKIT_DBUS_LIBS)
-slashsbin_PROGRAMS = umount.udisks
+sbin_PROGRAMS = umount.udisks
umount_udisks_SOURCES = umount-udisks.c
umount_udisks_LDADD = $(DBUS_GLIB_LIBS) $(POLKIT_DBUS_LIBS)