summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdebase/debian/tdm-trinity.postinst
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-09-20 05:08:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-09-20 05:08:25 +0200
commit55eba1f800c4e92d2359ce052e677f2bb36a4ed5 (patch)
treeab0d98615130a85caeb2266634554a27a5d64a7e /ubuntu/maverick/tdebase/debian/tdm-trinity.postinst
parent0c183905de60d9f4b26d475581adef4349442835 (diff)
downloadtde-packaging-55eba1f800c4e92d2359ce052e677f2bb36a4ed5.tar.gz
tde-packaging-55eba1f800c4e92d2359ce052e677f2bb36a4ed5.zip
Rename tdm-trinity.service on Ubuntu to match name of tdm binary
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/maverick/tdebase/debian/tdm-trinity.postinst')
-rw-r--r--ubuntu/maverick/tdebase/debian/tdm-trinity.postinst1
1 files changed, 0 insertions, 1 deletions
diff --git a/ubuntu/maverick/tdebase/debian/tdm-trinity.postinst b/ubuntu/maverick/tdebase/debian/tdm-trinity.postinst
index c33169e82..ec394f9cf 100644
--- a/ubuntu/maverick/tdebase/debian/tdm-trinity.postinst
+++ b/ubuntu/maverick/tdebase/debian/tdm-trinity.postinst
@@ -49,7 +49,6 @@ DEFAULT_SERVICE=/etc/systemd/system/display-manager.service
if [ "$1" = configure ] && [ -d /etc/systemd/system/ ]; then
if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
SERVICE=/lib/systemd/system/$(basename $(cat "$DEFAULT_DISPLAY_MANAGER_FILE")).service
- SERVICE=`echo "$SERVICE" | sed "s/tdm\./tdm-trinity./"`
if [ -h "$DEFAULT_SERVICE" ] && [ $(readlink "$DEFAULT_SERVICE") = /dev/null ]; then
echo "Display manager service is masked" >&2
elif [ -e "$SERVICE" ]; then