pkg: tweak previous, need this on post-deinstall too

PR: https://github.com/opnsense/core/commit/a1c114c670
This commit is contained in:
Franco Fichtner 2017-12-17 15:36:55 +01:00
parent 386c126f17
commit 64c8f55cdb
3 changed files with 5 additions and 1 deletions

View file

@ -132,6 +132,10 @@ scripts-auto:
sed "s:%%ARG%%:$${FILE#./}:g" >> \
${DESTDIR}/+POST_INSTALL; \
done; \
for SCRIPT in +POST_INSTALL +POST_DEINSTALL; do \
cat ${TEMPLATESDIR}/configure >> \
${DESTDIR}/$${SCRIPT}; \
done; \
fi
@if [ -d ${.CURDIR}/src/opnsense/service/templates ]; then \
for FILE in $$(cd ${.CURDIR}/src/opnsense/service/templates && \

1
Templates/configure vendored Normal file
View file

@ -0,0 +1 @@
/usr/local/etc/rc.configure_plugins

View file

@ -1,2 +1 @@
/usr/local/opnsense/mvc/script/run_migrations.php %%ARG%%
/usr/local/etc/rc.configure_plugins