Unverified Commit b0d18be2 authored by Igor Pečovnik's avatar Igor Pečovnik Committed by GitHub
Browse files

Backward compatibility fixes

parent 6c79f66a
......@@ -915,9 +915,12 @@ function jobs ()
exitstatus=$?;
if [[ $exitstatus = 0 ]]; then
service lightdm stop >/dev/null 2>&1 && systemctl disable lightdm.service >/dev/null 2>&1
service nodm stop >/dev/null 2>&1 && systemctl disable nodm.service >/dev/null 2>&1
fi
else
if ! is_package_manager_running; then
# install lightdm = backward compatibility
[[ -z $(dpkg -l | grep lightdm) ]] && debconf-apt-progress -- apt-get -o Dpkg::Options::="--force-confold" -y --no-install-recommends install lightdm-gtk-greeter lightdm
if [[ -n $DESKTOP_INSTALLED ]]; then
dialog --title " Display manager " --backtitle "$BACKTITLE" --yesno "\nDo you want to enable autologin?" 7 36
exitstatus=$?;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment