[molecules/scripts] add lightdm option
This commit is contained in:
parent
b8f4a9b774
commit
ec2a209ee2
@ -72,6 +72,8 @@ setup_displaymanager() {
|
|||||||
sed -i 's/DISPLAYMANAGER=".*"/DISPLAYMANAGER="gdm"/g' /etc/conf.d/xdm
|
sed -i 's/DISPLAYMANAGER=".*"/DISPLAYMANAGER="gdm"/g' /etc/conf.d/xdm
|
||||||
elif [ -n "$(equo match --installed lxde-base/lxdm -qv)" ]; then
|
elif [ -n "$(equo match --installed lxde-base/lxdm -qv)" ]; then
|
||||||
sed -i 's/DISPLAYMANAGER=".*"/DISPLAYMANAGER="lxdm"/g' /etc/conf.d/xdm
|
sed -i 's/DISPLAYMANAGER=".*"/DISPLAYMANAGER="lxdm"/g' /etc/conf.d/xdm
|
||||||
|
elif [ -n "$(equo match --installed x11-misc/lightdm -qv)" ]; then
|
||||||
|
sed -i 's/DISPLAYMANAGER=".*"/DISPLAYMANAGER="lightdm"/g' /etc/conf.d/xdm
|
||||||
elif [ -n "$(equo match --installed kde-base/kdm -qv)" ]; then
|
elif [ -n "$(equo match --installed kde-base/kdm -qv)" ]; then
|
||||||
sed -i 's/DISPLAYMANAGER=".*"/DISPLAYMANAGER="kdm"/g' /etc/conf.d/xdm
|
sed -i 's/DISPLAYMANAGER=".*"/DISPLAYMANAGER="kdm"/g' /etc/conf.d/xdm
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user