From: Silvio Rhatto Date: Fri, 1 Feb 2013 02:00:34 +0000 (-0200) Subject: Starting window manager depending on OS version X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=25235935e6c90557a4d6791c8d8f3a5cdf89681a;p=metadot.git Starting window manager depending on OS version --- diff --git a/modules/profile/xprofile b/modules/profile/xprofile index c4e4eab..ad4b3d7 100755 --- a/modules/profile/xprofile +++ b/modules/profile/xprofile @@ -9,6 +9,9 @@ BACKGROUND="" # Session applications PROGRAMS="" +# OS Version +OSVERSION="`cut -d . -f 1 /etc/debian_version`" + # Make sure to load the profile . $HOME/.profile @@ -45,6 +48,6 @@ unset GNOME_KEYRING_PID unset GNOME_KEYRING_CONTROL # Execute window manager -if [ "`cut -d . -f 1 /etc/debian_version`" ]; then +if [ "$OSVERSION" == '7' ]; then awesome fi