From c0fd1b49e49cec28c1f5a3a76f9db11c62e550dc Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 23 May 2009 20:38:12 +0100 Subject: 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. --- init.d/savecache.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'init.d/savecache.in') 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 $? } -- cgit v1.2.3