11 |
fi |
fi |
12 |
|
|
13 |
CONFIG="${MROOT}/${MCORE_UNPRIV_HOME}/.fluxbox/apps" |
CONFIG="${MROOT}/${MCORE_UNPRIV_HOME}/.fluxbox/apps" |
14 |
if [ ! -d ${MROOT}/${MCORE_UNPRIV_HOME}/.fluxbox ] |
if [ ! -d ${MROOT}/${MCORE_UNPRIV_HOME}/@@FLUXBOX_USER_CONFIG_DIR@@ ] |
15 |
then |
then |
16 |
install -o ${MCORE_UNPRIV_USER} -g ${MCORE_UNPRIV_GROUP} -d ${MROOT}/${MCORE_UNPRIV_HOME}/.fluxbox |
install -o ${MCORE_UNPRIV_USER} -g ${MCORE_UNPRIV_GROUP} -d ${MROOT}/${MCORE_UNPRIV_HOME}/@@FLUXBOX_USER_CONFIG_DIR@@ |
17 |
fi |
fi |
18 |
clearconfig |
clearconfig |
19 |
for file in $(find ${MROOT}/${MCORE_CONFIG_PATH}/fluxbox/autostart -type f) |
# use global fluxbox apps file as default |
20 |
|
if [ -f ${MROOT}/@@FLUXBOX_SHARED@@/apps ] |
21 |
|
then |
22 |
|
addconfig "$(< ${MROOT}/@@FLUXBOX_SHARED@@/apps)" |
23 |
|
fi |
24 |
|
for file in $(find ${MROOT}/${MCORE_CONFIG_PATH}/fluxbox/autostart -type f | sort) |
25 |
do |
do |
26 |
addconfig "$(< ${file})" |
addconfig "$(< ${file})" |
27 |
done |
done |