mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
pkg: tweak previous, need this on post-deinstall too
PR: https://github.com/opnsense/core/commit/a1c114c670
This commit is contained in:
parent
386c126f17
commit
64c8f55cdb
3 changed files with 5 additions and 1 deletions
|
|
@ -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
1
Templates/configure
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/usr/local/etc/rc.configure_plugins
|
||||
|
|
@ -1,2 +1 @@
|
|||
/usr/local/opnsense/mvc/script/run_migrations.php %%ARG%%
|
||||
/usr/local/etc/rc.configure_plugins
|
||||
|
|
|
|||
Loading…
Reference in a new issue