summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-25 21:01:20 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-12-23 02:23:29 +0100
commit9139c60da9b223575555a988bf7355caa884885b (patch)
treefb3cf5df0a6023f3ca73847e612eedacc934f29c
parentece6bb12827a96e06442061d2c324deb23e1f38b (diff)
downloadtde-packaging-9139c60da9b223575555a988bf7355caa884885b.tar.gz
tde-packaging-9139c60da9b223575555a988bf7355caa884885b.zip
Fix startup tdecmshell in administrator mode on Debian and Ubuntu
(cherry picked from commit 08239218fe4a7b455a4ae58d9ba25586ccc46e06)
-rwxr-xr-xdebian/lenny/kdelibs/debian/kcmshell6
-rwxr-xr-xdebian/squeeze/kdelibs/debian/kcmshell6
-rwxr-xr-xubuntu/maverick/kdelibs/debian/kcmshell6
3 files changed, 12 insertions, 6 deletions
diff --git a/debian/lenny/kdelibs/debian/kcmshell b/debian/lenny/kdelibs/debian/kcmshell
index e8b3d2a84..64dea7e87 100755
--- a/debian/lenny/kdelibs/debian/kcmshell
+++ b/debian/lenny/kdelibs/debian/kcmshell
@@ -1,4 +1,6 @@
#!/bin/sh
-export KDEDIRS=/usr/:/opt/trinity/
-/opt/trinity/bin/kcmshell.real $1 $2 $3 $4 $5 $6 $7 $8
+export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
+export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
+
+${0}.real "$@"
diff --git a/debian/squeeze/kdelibs/debian/kcmshell b/debian/squeeze/kdelibs/debian/kcmshell
index e8b3d2a84..64dea7e87 100755
--- a/debian/squeeze/kdelibs/debian/kcmshell
+++ b/debian/squeeze/kdelibs/debian/kcmshell
@@ -1,4 +1,6 @@
#!/bin/sh
-export KDEDIRS=/usr/:/opt/trinity/
-/opt/trinity/bin/kcmshell.real $1 $2 $3 $4 $5 $6 $7 $8
+export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
+export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
+
+${0}.real "$@"
diff --git a/ubuntu/maverick/kdelibs/debian/kcmshell b/ubuntu/maverick/kdelibs/debian/kcmshell
index e8b3d2a84..64dea7e87 100755
--- a/ubuntu/maverick/kdelibs/debian/kcmshell
+++ b/ubuntu/maverick/kdelibs/debian/kcmshell
@@ -1,4 +1,6 @@
#!/bin/sh
-export KDEDIRS=/usr/:/opt/trinity/
-/opt/trinity/bin/kcmshell.real $1 $2 $3 $4 $5 $6 $7 $8
+export XDG_CONFIG_DIRS=/opt/trinity/etc/xdg:/etc/xdg
+export XDG_DATA_DIRS=/opt/trinity/share:/usr/share
+
+${0}.real "$@"