Files
SysTray-X/dist/install.CentOS_8-Kde.sh
2020-11-25 23:25:43 +01:00

42 lines
1.0 KiB
Bash

##
# Check for Kde
#
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
#
# Check for Qt
#
yum list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
if [ "$?" == "1" ] ; then
echo
echo "Please install the package qt5-qtbase-gui"
echo
echo "sudo yum install qt5-qtbase-gui"
echo
fi
yum list installed "kf5*" | grep -q kf5-knotifications
if [ "$?" == "1" ] ; then
echo
echo "Please install the package kf5-knotifications from the EPEL repo"
echo
echo "sudo yum install epel-release"
echo "sudo yum install kf5-knotifications"
echo
fi
else
#
# Check for Gnome
#
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
echo
echo "Please use the __GNOME_INSTALLER__ installer."
echo "This setup will not work."
echo
else
echo
echo "Please use the __MINIMAL_INSTALLER__ installer."
echo "This setup will not work."
echo
fi
fi