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

More fixes regarding desktop

parent b0d18be2
...@@ -919,7 +919,8 @@ function jobs () ...@@ -919,7 +919,8 @@ function jobs ()
fi fi
else else
if ! is_package_manager_running; then if ! is_package_manager_running; then
# install lightdm = backward compatibility # remove nodm and install lightdm = backward compatibility
[[ -n $(dpkg -l | grep nodm) ]] && debconf-apt-progress -- apt-get -y purge nodm
[[ -z $(dpkg -l | grep lightdm) ]] && debconf-apt-progress -- apt-get -o Dpkg::Options::="--force-confold" -y --no-install-recommends install lightdm-gtk-greeter lightdm [[ -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 if [[ -n $DESKTOP_INSTALLED ]]; then
dialog --title " Display manager " --backtitle "$BACKTITLE" --yesno "\nDo you want to enable autologin?" 7 36 dialog --title " Display manager " --backtitle "$BACKTITLE" --yesno "\nDo you want to enable autologin?" 7 36
......
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