aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2016-09-12 11:20:26 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-09-12 12:58:31 -0500
commitac53c9a658589456c678b6bfe674a66a3845e564 (patch)
tree98ffdef95376c800caf88cf91e94485badba8d77 /sh
parentb02ff466fa75cc4b5bcfaff3f2989cc65c823f43 (diff)
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.
Diffstat (limited to 'sh')
-rw-r--r--sh/init.sh.BSD.in2
-rw-r--r--sh/init.sh.GNU-kFreeBSD.in2
-rw-r--r--sh/init.sh.GNU.in2
-rw-r--r--sh/init.sh.Linux.in2
4 files changed, 4 insertions, 4 deletions
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