You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Makefile however installs the script to $(DESTDIR)$(PREFIX)/bin/media-automount.
On my system, both DESTDIR and PREFIX are empty, so the script is never called.
Suggestion: either leave away the $(DESTDIR)$(PREFIX) in the Makefile and hard code the prefix to /usr, or configure the service file at build time.
I would do a PR however am not that seasoned in Makefile builds, what's the best practice to achieve this? maybe insert something like @DESTDIR@ in the service file and replace it with sed?
The text was updated successfully, but these errors were encountered:
in
media-automount@.service
there's a hardcoded reference to/usr/bin/media-automount
.Makefile however installs the script to
$(DESTDIR)$(PREFIX)/bin/media-automount
.On my system, both DESTDIR and PREFIX are empty, so the script is never called.
Suggestion: either leave away the
$(DESTDIR)$(PREFIX)
in the Makefile and hard code the prefix to/usr
, or configure the service file at build time.I would do a PR however am not that seasoned in Makefile builds, what's the best practice to achieve this? maybe insert something like
@DESTDIR@
in the service file and replace it withsed
?The text was updated successfully, but these errors were encountered: