|
|
@ -49,7 +49,6 @@ DEFAULT_SERVICE=/etc/systemd/system/display-manager.service
|
|
|
|
if [ "$1" = configure ] && [ -d /etc/systemd/system/ ]; then
|
|
|
|
if [ "$1" = configure ] && [ -d /etc/systemd/system/ ]; then
|
|
|
|
if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
|
|
|
|
if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then
|
|
|
|
SERVICE=/lib/systemd/system/$(basename $(cat "$DEFAULT_DISPLAY_MANAGER_FILE")).service
|
|
|
|
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
|
|
|
|
if [ -h "$DEFAULT_SERVICE" ] && [ $(readlink "$DEFAULT_SERVICE") = /dev/null ]; then
|
|
|
|
echo "Display manager service is masked" >&2
|
|
|
|
echo "Display manager service is masked" >&2
|
|
|
|
elif [ -e "$SERVICE" ]; then
|
|
|
|
elif [ -e "$SERVICE" ]; then
|
|
|
|