From 6ef14212afe96cfd4b72906aed44880b157f9ab1 Mon Sep 17 00:00:00 2001 From: glimmer07 Date: Sat, 15 Aug 2009 18:31:06 +0000 Subject: [PATCH] Fixed service file! Service file will now point to $(prefix) of most recently installed inkscape. --- src/extension/dbus/Makefile_insert | 2 +- src/extension/dbus/org.inkscape.service.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2