313 |
do |
do |
314 |
# abort if empty |
# abort if empty |
315 |
[[ -z ${i} ]] && continue |
[[ -z ${i} ]] && continue |
316 |
|
|
317 |
evaluate_table cfg_plugins "where serial='${ALX_SERIAL}' and id='${i}'" |
evaluate_table cfg_plugins "where serial='${ALX_SERIAL}' and id='${i}'" |
318 |
if [[ -x ${ALX_PLUGINS}/${cfg_plugins_plugin}/plugin.sh ]] |
if [[ -x ${ALX_PLUGINS}/${cfg_plugins_plugin}/plugin.sh ]] |
319 |
then |
then |
599 |
generate_program_sh \ |
generate_program_sh \ |
600 |
--name "${PLUGIN_MENUITEM_NAME}" \ |
--name "${PLUGIN_MENUITEM_NAME}" \ |
601 |
--exec "${PLUGIN_MENUITEM_EXEC}" \ |
--exec "${PLUGIN_MENUITEM_EXEC}" \ |
602 |
--param "${PLUGIN_MENUITEM_PARM}" \ |
--param "${PLUGIN_MENUITEM_PARAM}" \ |
603 |
--dest "${progsh_path}/$(fix_whitespaces ${PLUGIN_MENUITEM_NAME})" \ |
--dest "${progsh_path}/$(fix_whitespaces ${PLUGIN_MENUITEM_NAME})" \ |
604 |
"${workdir}" |
"${workdir}" |
605 |
|
|
627 |
chown ${ALX_UNPRIV_USER}:${ALX_UNPRIV_GROUP} ${ALX_UNPRIV_HOME}/.fluxbox |
chown ${ALX_UNPRIV_USER}:${ALX_UNPRIV_GROUP} ${ALX_UNPRIV_HOME}/.fluxbox |
628 |
chmod 0755 ${ALX_UNPRIV_HOME}/.fluxbox |
chmod 0755 ${ALX_UNPRIV_HOME}/.fluxbox |
629 |
chmod 0755 ${ALX_UNPRIV_HOME}/.idesktop |
chmod 0755 ${ALX_UNPRIV_HOME}/.idesktop |
|
chmod 0644 ${ALX_UNPRIV_HOME}/.ideskrc |
|
630 |
} |
} |