aboutsummaryrefslogtreecommitdiffstats
path: root/menu/menustyle.sh
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-06-02 20:30:42 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-06-02 20:30:42 +0000
commitac5099ebf8fced835c2108ce4d2d327762d0e595 (patch)
treec9d6bb9a8e3a7e3de6a100e2ae300922003f995e /menu/menustyle.sh
downloadcommon-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.tar
common-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.tar.gz
common-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.tar.bz2
common-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.tar.xz
common-data-ac5099ebf8fced835c2108ce4d2d327762d0e595.zip
Branch for updates
Diffstat (limited to 'menu/menustyle.sh')
-rwxr-xr-xmenu/menustyle.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/menu/menustyle.sh b/menu/menustyle.sh
new file mode 100755
index 0000000..6096ab2
--- /dev/null
+++ b/menu/menustyle.sh
@@ -0,0 +1,10 @@
+MGA_MENU_STYLE=mageia
+
+[ -r /etc/sysconfig/menustyle ] && . /etc/sysconfig/menustyle
+[ -r $HOME/.menustyle ] && . $HOME/.menustyle
+
+if [ "$MGA_MENU_STYLE" = "discovery" ]; then
+ MGA_MENU_STYLE=mageia
+fi
+
+export MGA_MENU_STYLE