add check for display manager
This commit is contained in:
parent
233390113a
commit
74d35ee9db
8
install
8
install
@ -13,7 +13,7 @@
|
|||||||
# https://github.com/armbian/config/blob/master/debian-software
|
# https://github.com/armbian/config/blob/master/debian-software
|
||||||
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
|
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
|
||||||
#
|
#
|
||||||
# version: 1.5.2
|
# version: 1.6.0
|
||||||
#
|
#
|
||||||
|
|
||||||
if [[ $(id -u) -ne 0 ]]; then
|
if [[ $(id -u) -ne 0 ]]; then
|
||||||
@ -27,6 +27,12 @@ if [ ! "${systemd}" = "systemd" ]; then
|
|||||||
exit 100
|
exit 100
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if dpkg -l | grep -Eqw "gdm3|sddm|lxdm|xdm|lightdm|slim|wdm"; then
|
||||||
|
echo "This system is running a desktop environment!"
|
||||||
|
echo "This is not supported. Exiting..."
|
||||||
|
exit 101
|
||||||
|
fi
|
||||||
|
|
||||||
declare -i cfg=0
|
declare -i cfg=0
|
||||||
declare -i ipv6=0
|
declare -i ipv6=0
|
||||||
declare -i rpi=0
|
declare -i rpi=0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user