diff options
author | Roy Marples <roy@marples.name> | 2009-05-23 20:38:12 +0100 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-05-23 20:38:12 +0100 |
commit | c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc (patch) | |
tree | fe1f406f976dbcec3d7225ccf1b0f08f6957dfcc /init.d/savecache.in | |
parent | 5294abe6171610a1aa0eb093774bed9bb965c9cf (diff) |
Move non compiled libraries from /lib/rc to /libexec/rc
OpenRC version is now stored as plaintext in /libexec/rc/version
Plugins (cursplash, splashutils) will have to be re-compiled to pickup
the new directories. State data needs to be moved from /lib/rc/init.d
to /libexec/rc/init.d as well.
Diffstat (limited to 'init.d/savecache.in')
-rw-r--r-- | init.d/savecache.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init.d/savecache.in b/init.d/savecache.in index ea011c14..799b8bc5 100644 --- a/init.d/savecache.in +++ b/init.d/savecache.in @@ -14,9 +14,9 @@ start() fi fi ebegin "Saving dependency cache" - if [ ! -d "$RC_LIBDIR"/cache ]; then - rm -rf "$RC_LIBDIR"/cache - if ! mkdir "$RC_LIBDIR"/cache; then + if [ ! -d "$RC_LIBEXECDIR"/cache ]; then + rm -rf "$RC_LIBEXECDIR"/cache + if ! mkdir "$RC_LIBEXECDIR"/cache; then eend $? return $? fi @@ -26,7 +26,7 @@ start() [ -e "$RC_SVCDIR/$x" ] && save="$save $RC_SVCDIR/$x" done if [ -n "$save" ]; then - cp -p $save "$RC_LIBDIR"/cache 2>/dev/null + cp -p $save "$RC_LIBEXECDIR"/cache 2>/dev/null fi eend $? } |