File gnome-shell-executable-path-not-absolute.patch of Package gnome-shell.16848

diff --git a/data/gnome-shell-disable-extensions.service b/data/gnome-shell-disable-extensions.service.in
similarity index 85%
rename from data/gnome-shell-disable-extensions.service
rename to data/gnome-shell-disable-extensions.service.in
index de91167..49236a6 100644
--- a/data/gnome-shell-disable-extensions.service
+++ b/data/gnome-shell-disable-extensions.service.in
@@ -11,5 +11,5 @@ ConditionPathExists=%t/gnome-shell-disable-extensions
 [Service]
 Type=simple
 # Disable extensions
-ExecStart=gsettings set org.gnome.shell disable-user-extensions true
+ExecStart=@bindir@/gsettings set org.gnome.shell disable-user-extensions true
 Restart=no
diff --git a/data/meson.build b/data/meson.build
index 88a6176..9955f1c 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -114,9 +114,14 @@ if have_systemd
     install_dir: systemduserunitdir
   )
 
+  configure_file(
+    input: 'gnome-shell-disable-extensions.service.in',
+    output: 'gnome-shell-disable-extensions.service',
+    configuration: unitconf,
+    install_dir: systemduserunitdir
+  )
   units = files('gnome-shell-x11.target',
-                'gnome-shell-wayland.target',
-                'gnome-shell-disable-extensions.service')
+                'gnome-shell-wayland.target')
 
   install_data(units, install_dir: systemduserunitdir)
 endif
openSUSE Build Service is sponsored by