Rename tdm-trinity.service on Ubuntu to match name of tdm binary

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 55eba1f800)
pull/92/head
Slávek Banko 9 years ago
parent 038eb45e0f
commit 792dcb7090

@ -1,4 +1,5 @@
debian/local/tdm.options etc/trinity/tdm/
debian/tdm.service lib/systemd/system/
debian/tmp/etc/trinity/tdm/tdmrc
debian/tmp/etc/trinity/tdm/Xaccess
debian/tmp/etc/trinity/tdm/Xreset

@ -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

Loading…
Cancel
Save