pkg: move timestamp refresh to post-install stage

This commit is contained in:
Franco Fichtner 2019-07-01 07:19:23 +02:00
parent fc296c3ac4
commit 13e1906be8
2 changed files with 3 additions and 4 deletions

View File

@ -34,3 +34,6 @@ rm -f /etc/rc.shutdown.bak
/usr/local/etc/rc.d/configd start
/usr/local/etc/rc.configure_firmware
# cerate a unique timestamp for our asset caching
touch /usr/local/opnsense/www/index.php

View File

@ -307,10 +307,6 @@ upgrade-check:
upgrade: upgrade-check clean-pkgdir package
@${PKG} delete -fy ${CORE_NAME} || true
@${PKG} add ${PKGDIR}/*.${PKG_FORMAT}
.if exists(${LOCALBASE}/opnsense/www/index.php)
# try to update the current system if it looks like one
@touch ${LOCALBASE}/opnsense/www/index.php
.endif
@pluginctl webgui
lint-shell: