From ac53c9a658589456c678b6bfe674a66a3845e564 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 12 Sep 2016 11:20:26 -0500 Subject: sh/init.sh: fix the test for cache restoration This fixes the test for cache restoration since we are no longer caching the dependency tree. --- sh/init.sh.BSD.in | 2 +- sh/init.sh.GNU-kFreeBSD.in | 2 +- sh/init.sh.GNU.in | 2 +- sh/init.sh.Linux.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sh') diff --git a/sh/init.sh.BSD.in b/sh/init.sh.BSD.in index 6fe0bde6..64282e99 100644 --- a/sh/init.sh.BSD.in +++ b/sh/init.sh.BSD.in @@ -57,7 +57,7 @@ case "$(openrc --sys)" in esac retval=$? -if [ -e "$RC_LIBEXECDIR"/cache/deptree ]; then +if [ -e "$RC_LIBEXECDIR"/cache/softlevel ]; then cp -p "$RC_LIBEXECDIR"/cache/* "$RC_SVCDIR" 2>/dev/null fi diff --git a/sh/init.sh.GNU-kFreeBSD.in b/sh/init.sh.GNU-kFreeBSD.in index db3eec3b..5eb8064e 100644 --- a/sh/init.sh.GNU-kFreeBSD.in +++ b/sh/init.sh.GNU-kFreeBSD.in @@ -34,7 +34,7 @@ ebegin "Creating $RC_SVCDIR" mkdir -p $RC_SVCDIR eend $? -if [ -e "$RC_LIBEXECDIR"/cache/deptree ]; then +if [ -e "$RC_LIBEXECDIR"/cache/softlevel ]; then cp -p "$RC_LIBEXECDIR"/cache/* "$RC_SVCDIR" 2>/dev/null fi diff --git a/sh/init.sh.GNU.in b/sh/init.sh.GNU.in index f08bac73..08a492a1 100644 --- a/sh/init.sh.GNU.in +++ b/sh/init.sh.GNU.in @@ -36,7 +36,7 @@ ebegin "Creating $RC_SVCDIR" mkdir -p $RC_SVCDIR eend $? -if [ -e "$RC_LIBEXECDIR"/cache/deptree ]; then +if [ -e "$RC_LIBEXECDIR"/cache/softlevel ]; then cp -p "$RC_LIBEXECDIR"/cache/* "$RC_SVCDIR" 2>/dev/null fi diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 7d36e7aa..344f627c 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in @@ -85,7 +85,7 @@ if grep -Eq "[[:space:]]+xenfs$" /proc/filesystems; then eend $? fi -if [ -e "$RC_LIBEXECDIR"/cache/deptree ]; then +if [ -e "$RC_LIBEXECDIR"/cache/softlevel ]; then cp -p "$RC_LIBEXECDIR"/cache/* "$RC_SVCDIR" 2>/dev/null fi -- cgit v1.2.3