Commit f9f3b9b7 authored by Franco Fichtner's avatar Franco Fichtner

make: new package can set vital automatically

parent 019e1c1b
...@@ -177,6 +177,7 @@ manifest: want-git ...@@ -177,6 +177,7 @@ manifest: want-git
@echo "licenselogic: \"single\"" @echo "licenselogic: \"single\""
@echo "licenses: [ \"BSD2CLAUSE\" ]" @echo "licenses: [ \"BSD2CLAUSE\" ]"
@echo "prefix: /usr/local" @echo "prefix: /usr/local"
@echo "vital: true"
@echo "deps: {" @echo "deps: {"
@for CORE_DEPEND in ${CORE_DEPENDS}; do \ @for CORE_DEPEND in ${CORE_DEPENDS}; do \
if ! ${PKG} query ' %n: { version: "%v", origin: "%o" }' \ if ! ${PKG} query ' %n: { version: "%v", origin: "%o" }' \
...@@ -268,7 +269,6 @@ upgrade: upgrade-check package ...@@ -268,7 +269,6 @@ upgrade: upgrade-check package
@${PKG} set -yv 0 ${CORE_NAME} @${PKG} set -yv 0 ${CORE_NAME}
@${PKG} delete -y ${CORE_NAME} @${PKG} delete -y ${CORE_NAME}
@${PKG} add ${PKGDIR}/*.txz @${PKG} add ${PKGDIR}/*.txz
@${PKG} set -yv 1 ${CORE_NAME}
@/usr/local/etc/rc.restart_webgui @/usr/local/etc/rc.restart_webgui
lint: force lint: force
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment