Better detection for Desktop Session w/ KDE
This commit is contained in:
parent
50834b1222
commit
c60269e1b0
1 changed files with 3 additions and 1 deletions
|
@ -124,8 +124,10 @@ install_flat() {
|
||||||
# Entry Point
|
# Entry Point
|
||||||
main() {
|
main() {
|
||||||
## Desktop Specific Operations ##
|
## Desktop Specific Operations ##
|
||||||
if [ "$DESKTOP_SESSION" == "gnome" ]; then
|
if [ "$XDG_CURRENT_DESKTOP" == "Gnome" ]; then
|
||||||
gnome
|
gnome
|
||||||
|
elif [ "$XDG_CURRENT_DESKTOP" == "KDE" ]; then
|
||||||
|
kde
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Installing Software
|
# Installing Software
|
||||||
|
|
Loading…
Reference in a new issue