Framework: pass update type on configure; closes #473

(cherry picked from commit 058b9c8579)
This commit is contained in:
Franco Fichtner 2018-01-08 22:07:21 +01:00
parent 8a9997423c
commit 1dc4b414a5
2 changed files with 3 additions and 2 deletions

View file

@ -131,7 +131,8 @@ scripts-auto:
${DESTDIR}/+POST_INSTALL; \
done; \
for SCRIPT in +POST_INSTALL +POST_DEINSTALL; do \
cat ${TEMPLATESDIR}/configure >> \
cat ${TEMPLATESDIR}/configure | \
sed "s:%%ARG%%:$${SCRIPT#+}:g" >> \
${DESTDIR}/$${SCRIPT}; \
done; \
fi

2
Templates/configure vendored
View file

@ -1 +1 @@
/usr/local/etc/rc.configure_plugins
if [ -f /usr/local/etc/rc.configure_plugins ]; then /usr/local/etc/rc.configure_plugins %%ARG%%; fi