Update install

Fixed This system is running a desktop environment!
This commit is contained in:
Ayush Sharma 2023-11-16 23:51:03 +05:30 committed by GitHub
parent 5ac91ab46f
commit c01a26e1be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
install
View File

@ -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:"