diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index a68808e..7c8b602 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -51,8 +51,12 @@ INSTALL_PROXMENUX() { } PROXMENUX_POST_INSTALL() { - [ ! -f /usr/local/share/proxmenux/scripts/post_install/customizable_post_install.sh ] && INSTALL_PROXMENUX - /usr/local/share/proxmenux/scripts/post_install/customizable_post_install.sh + PMFLDR='/usr/local/share/proxmenux/scripts/post_install' + echo 1 + [ ! -f ${PMFLDR}/customizable_post_install.sh ] && INSTALL_PROXMENUX + echo 2 + bash ${PMFLDR}/customizable_post_install.sh + [ ${action-x} ] && exit 0 || ENTER2CONTINUE touch /opt/.PROXMENUX_POST_INSTALL }