create options in qpjg

This commit is contained in:
crieke
2026-04-13 04:33:23 +02:00
parent 3c017e9c68
commit 19d4fcd397

View File

@@ -148,7 +148,6 @@ pkg_pre_install(){
pkg_install(){
## Creating required folders and setting permissions
"${CMD_MKDIR}" -m 777 "${SYS_QPKG_DIR}"/id
"${CMD_CHMOD}" -R 777 "${SYS_QPKG_DIR}"/web/tmp
}
pkg_post_install(){
@@ -156,5 +155,10 @@ pkg_post_install(){
[ -d "${SYS_QPKG_DIR}/tmp" ] || "${CMD_MKDIR}" -m 777 "${SYS_QPKG_DIR}/tmp"
[ -d "${SYS_QPKG_DIR}/id" ] || "${CMD_MKDIR}" -m 777 "${SYS_QPKG_DIR}/id"
"${CMD_SETCFG}" "${QPKG_NAME}" options "" -f "${SYS_QPKG_CONFIG_FILE}"
"${CMD_SETCFG}" "${QPKG_NAME}" Force_Visible 1 -f "${SYS_QPKG_CONFIG_FILE}"
}