blob: 74776db5d4363bcf81be2e2f4faa7a0ef0626e16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
if ($META_CLASS == desktop ) then
set MDV_MENU_STYLE=discovery
else
set MDV_MENU_STYLE=mandriva
endif
foreach file (/etc/sysconfig/menustyle $HOME/.menustyle)
if ( -f $file ) then
eval `sed 's|^#.*||' $file | sed 's|\([^=]*\)=\([^=]*\)|set \1=\2|g' | sed 's|$|;|' `
endif
end
if ($MDV_MENU_STYLE == discovery && ! ${?XDG_CONFIG_DIRS}) then
setenv XDG_CONFIG_DIRS /etc/xdg/discovery:/etc/xdg
endif
setenv MDV_MENU_STYLE $MDV_MENU_STYLE
|