aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/menu/menustyle.sh
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2007-08-23 17:34:44 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2007-08-23 17:34:44 +0000
commit16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf (patch)
tree050079df8c95b5b7fde44627f6af0e0701fea9f6 /trunk/menu/menustyle.sh
parentccc8bdd743d36a098eb1abbd9ffcb5b30979e3a8 (diff)
downloadcommon-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.tar
common-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.tar.gz
common-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.tar.bz2
common-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.tar.xz
common-data-16c61ccf6d1fdd4cd9c98dfd430d09f88d9c5cdf.zip
V2008_0_2mdv
Diffstat (limited to 'trunk/menu/menustyle.sh')
-rwxr-xr-xtrunk/menu/menustyle.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/trunk/menu/menustyle.sh b/trunk/menu/menustyle.sh
new file mode 100755
index 0000000..5a3d46e
--- /dev/null
+++ b/trunk/menu/menustyle.sh
@@ -0,0 +1,10 @@
+MDV_MENU_STYLE=mandriva
+
+[ -r /etc/sysconfig/menustyle ] && source /etc/sysconfig/menustyle
+[ -r $HOME/.menustyle ] && source $HOME/.menustyle
+
+if [ "$MDV_MENU_STYLE" = "discovery" ]; then
+ MDV_MENU_STYLE=mandriva
+fi
+
+export MDV_MENU_STYLE