diff options
author | Roy Marples <roy@marples.name> | 2008-03-03 10:33:42 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-03 10:33:42 +0000 |
commit | 0aedc0286040b595119b4523d38ffd35b0018d6c (patch) | |
tree | 32ab5aca002067f07bbc45fcd34a3fd769c73468 /src/librc/librc-depend.c | |
parent | 5971d14afd7e67b088307cd589f84491e99625ed (diff) | |
download | openrc-0aedc0286040b595119b4523d38ffd35b0018d6c.tar.gz openrc-0aedc0286040b595119b4523d38ffd35b0018d6c.tar.bz2 openrc-0aedc0286040b595119b4523d38ffd35b0018d6c.tar.xz |
Introduce LOCAL_PREFIX for a user maintained script location.
Diffstat (limited to 'src/librc/librc-depend.c')
-rw-r--r-- | src/librc/librc-depend.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c index 1ab2b60..1718e22 100644 --- a/src/librc/librc-depend.c +++ b/src/librc/librc-depend.c @@ -702,6 +702,12 @@ bool rc_deptree_update_needed (void) #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); |