10 |
ICON_INFO_PATH="${MCORE_CONFIG_PATH}/icons/info" |
ICON_INFO_PATH="${MCORE_CONFIG_PATH}/icons/info" |
11 |
ICON_INFO_SUFFIX="@@ICON_INFO_SUFFIX@@" |
ICON_INFO_SUFFIX="@@ICON_INFO_SUFFIX@@" |
12 |
|
|
13 |
|
die() { echo "ERROR: $@"; exit 1; } |
14 |
|
|
15 |
# very basic getops |
# very basic getops |
16 |
for i in $* |
for i in $* |
17 |
do |
do |
51 |
clearconfig |
clearconfig |
52 |
|
|
53 |
addconfig "name=\"${name}\"" |
addconfig "name=\"${name}\"" |
54 |
|
addconfig "filename=\"${filename}\"" |
55 |
addconfig "command=\"${command}\"" |
addconfig "command=\"${command}\"" |
56 |
addconfig "icon=\"${icon}\"" |
addconfig "icon=\"${icon}\"" |
57 |
addconfig "deficon=\"${deficon}\"" |
addconfig "deficon=\"${deficon}\"" |
64 |
addconfig "iwidth=\"${iwidth}\"" |
addconfig "iwidth=\"${iwidth}\"" |
65 |
fi |
fi |
66 |
|
|
67 |
if [[ ! -z ${iheight} ]] |
if [[ -z ${iheight} ]] |
68 |
then |
then |
69 |
addconfig="iheight=0" |
addconfig="iheight=0" |
70 |
else |
else |