10 |
{ |
{ |
11 |
local MMINCLUDE |
local MMINCLUDE |
12 |
local CONFIG |
local CONFIG |
13 |
|
local file |
14 |
|
local ver |
15 |
|
|
16 |
MMINCLUDE="${MCORE_CONFIG_PATH}/fluxbox/mcore-menu-include" |
MMINCLUDE="${MCORE_CONFIG_PATH}/fluxbox/mcore-menu-include" |
17 |
CONFIG="${MROOT}/${MMINCLUDE}" |
CONFIG="${MROOT}/${MMINCLUDE}" |
31 |
|
|
32 |
# fluxbox menu header |
# fluxbox menu header |
33 |
clearconfig |
clearconfig |
34 |
local ver="$(< ${MROOT}/etc/mageversion)" |
ver="$(< ${MROOT}/etc/mageversion)" |
35 |
addconfig "[begin] (mCore-${ver} #${MCORE_SERIAL})" |
addconfig "[begin] (${MCORE_DISTRIBUTION}-${ver} #${MCORE_SERIAL})" |
36 |
|
|
37 |
# add a newline (maybe there is no crlf in the header) |
# add a newline (maybe there is no crlf in the header) |
38 |
addconfig |
addconfig |