Update install
Fixed This system is running a desktop environment!
This commit is contained in:
parent
5ac91ab46f
commit
c01a26e1be
10
install
10
install
@ -37,16 +37,6 @@ 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 "Please use a Lite version of the image or"
|
|
||||||
echo "do not choose to install a desktop environment."
|
|
||||||
echo "This install is not supported."
|
|
||||||
echo "Search the forum for more info - https://forum.openmediavault.org"
|
|
||||||
echo "Exiting..."
|
|
||||||
exit 101
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -L "/sbin" ] || [ ! -L "/bin" ]; then
|
if [ ! -L "/sbin" ] || [ ! -L "/bin" ]; then
|
||||||
echo "The /usr directories seem not to be migrated. Please check the"
|
echo "The /usr directories seem not to be migrated. Please check the"
|
||||||
echo "following pages for more information:"
|
echo "following pages for more information:"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user