aboutsummaryrefslogtreecommitdiffstats
path: root/menu/menustyle.sh
blob: d9788ab183554b38336859c52e09a6f1afd3dc4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if [ "$META_CLASS" = "desktop" ]; then 
	MDV_MENU_STYLE=discovery 
else
	MDV_MENU_STYLE=mandriva
fi

[ -r /etc/sysconfig/menustyle ] && source /etc/sysconfig/menustyle
[ -r $HOME/.menustyle ] && source $HOME/.menustyle

if [ "$MDV_MENU_STYLE" = "discovery" ]; then
	XDG_CONFIG_DIRS=/etc/xdg/discovery:/etc/xdg
	export XDG_CONFIG_DIRS
fi

export MDV_MENU_STYLE