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