mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
sh: Add config tag to /.profile
The file /.profile is installed as a hard link to /root/.profile. The file in /root has the config tag, but the file in / does not, which causes it to be overwritten by pkg upgrade. Since they're linked, this also overwrites the file in /root. Add the config tag to the file in / as well, so pkg treates both links as config files and won't overwrite them. PR: 289097 MFC after: 3 days Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D52162
This commit is contained in:
parent
39d668f1e0
commit
aa730a66bc
1 changed files with 1 additions and 1 deletions
|
|
@ -74,6 +74,6 @@ beforeinstallconfig:
|
|||
|
||||
LINKMODE=${CONFMODE}
|
||||
afterinstallconfig:
|
||||
${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.profile ${DESTDIR}/.profile
|
||||
${INSTALL_LINK} ${TAG_ARGS},config ${DESTDIR}/root/.profile ${DESTDIR}/.profile
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue