From: glimmer07 Date: Sat, 15 Aug 2009 18:31:06 +0000 (+0000) Subject: Fixed service file! X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6ef14212afe96cfd4b72906aed44880b157f9ab1;p=inkscape.git Fixed service file! Service file will now point to $(prefix) of most recently installed inkscape. --- diff --git a/src/extension/dbus/Makefile_insert b/src/extension/dbus/Makefile_insert index a10dcdeba..00dba3b20 100644 --- a/src/extension/dbus/Makefile_insert +++ b/src/extension/dbus/Makefile_insert @@ -36,5 +36,5 @@ service_DATA = $(service_in_files:.service.in=.service) # Rule to make the service file with bindir expanded $(service_DATA): $(service_in_files) Makefile - @sed -e "s|@bindir@|$(bindir)|" $<> $@ #Fix bindir + @sed -e "s|bindir|$(prefix)|" $<> $@ diff --git a/src/extension/dbus/org.inkscape.service.in b/src/extension/dbus/org.inkscape.service.in index 60d5b6b43..dcfff2ff2 100644 --- a/src/extension/dbus/org.inkscape.service.in +++ b/src/extension/dbus/org.inkscape.service.in @@ -1,5 +1,5 @@ [D-BUS Service] Name=org.inkscape -Exec=/usr/local/bin/inkscape +Exec=bindir/inkscape