Introduce LOCAL_PREFIX for a user maintained script location.

This commit is contained in:
Roy Marples
2008-03-03 10:33:42 +00:00
parent 5971d14afd
commit 0aedc02860
7 changed files with 65 additions and 16 deletions

View File

@ -701,6 +701,12 @@ bool rc_deptree_update_needed (void)
#endif
#ifdef RC_PKG_CONFDIR
! rc_newer_than (RC_DEPTREE, RC_PKG_CONFDIR) ||
#endif
#ifdef RC_LOCAL_INITDIR
! rc_newer_than (RC_DEPTREE, RC_LOCAL_INITDIR) ||
#endif
#ifdef RC_LOCAL_CONFDIR
! rc_newer_than (RC_DEPTREE, RC_LOCAL_CONFDIR) ||
#endif
! rc_newer_than (RC_DEPTREE, "/etc/rc.conf"))
return (true);