summaryrefslogtreecommitdiffstats
path: root/debian
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>2013-09-25 21:02:00 +0200
commit08239218fe4a7b455a4ae58d9ba25586ccc46e06 (patch)
tree4522452f2c8ae6721f3665d977b0d12152f756ec /debian
parent17ad11ff99cf97c9bb9a61b55f6991bffab3e3fe (diff)
downloadtde-packaging-08239218fe4a7b455a4ae58d9ba25586ccc46e06.tar.gz
tde-packaging-08239218fe4a7b455a4ae58d9ba25586ccc46e06.zip
Fix startup tdecmshell in administrator mode on Debian and Ubuntu
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/lenny/tdelibs/debian/tdecmshell6
-rwxr-xr-xdebian/squeeze/tdelibs/debian/tdecmshell6
-rwxr-xr-xdebian/wheezy/tdelibs/debian/tdecmshell6
3 files changed, 12 insertions, 6 deletions
diff --git a/debian/lenny/tdelibs/debian/tdecmshell b/debian/lenny/tdelibs/debian/tdecmshell
index 4e24cd356..64dea7e87 100755
--- a/debian/lenny/tdelibs/debian/tdecmshell
+++ b/debian/lenny/tdelibs/debian/tdecmshell
@@ -1,4 +1,6 @@
#!/bin/sh
-export TDEDIRS=/usr/:/opt/trinity/
-/opt/trinity/bin/tdecmshell.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/tdelibs/debian/tdecmshell b/debian/squeeze/tdelibs/debian/tdecmshell
index 4e24cd356..64dea7e87 100755
--- a/debian/squeeze/tdelibs/debian/tdecmshell
+++ b/debian/squeeze/tdelibs/debian/tdecmshell
@@ -1,4 +1,6 @@
#!/bin/sh
-export TDEDIRS=/usr/:/opt/trinity/
-/opt/trinity/bin/tdecmshell.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/wheezy/tdelibs/debian/tdecmshell b/debian/wheezy/tdelibs/debian/tdecmshell
index 4e24cd356..64dea7e87 100755
--- a/debian/wheezy/tdelibs/debian/tdecmshell
+++ b/debian/wheezy/tdelibs/debian/tdecmshell
@@ -1,4 +1,6 @@
#!/bin/sh
-export TDEDIRS=/usr/:/opt/trinity/
-/opt/trinity/bin/tdecmshell.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 "$@"