From 42e99588ad3b1c7822cf9f150d4af33eb9c73517 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Sat, 19 Aug 2017 17:39:18 +0200 Subject: [PATCH] sci-misc/boinc: Fix typos in init script This commit fixes Gentoo Bug #626958 "sci-misc/boinc-7.6.33-r5 typos in /etc/init.d/boinc" In five places the eerror function was spelled "eeror", which is obviously wrong. This commit fixes that. As the init script isn't correctly working in all error cases without these fixes, the ebuilds got revision bumped to forece the installation of the fixed version. Bug: https://bugs.gentoo.org/show_bug.cgi?id=626958 Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- .../{boinc-7.2.44-r5.ebuild => boinc-7.2.44-r6.ebuild} | 0 .../{boinc-7.4.52-r5.ebuild => boinc-7.4.52-r6.ebuild} | 0 .../{boinc-7.6.33-r5.ebuild => boinc-7.6.33-r6.ebuild} | 0 sci-misc/boinc/files/boinc.init.in | 10 +++++----- 4 files changed, 5 insertions(+), 5 deletions(-) rename sci-misc/boinc/{boinc-7.2.44-r5.ebuild => boinc-7.2.44-r6.ebuild} (100%) rename sci-misc/boinc/{boinc-7.4.52-r5.ebuild => boinc-7.4.52-r6.ebuild} (100%) rename sci-misc/boinc/{boinc-7.6.33-r5.ebuild => boinc-7.6.33-r6.ebuild} (100%) diff --git a/sci-misc/boinc/boinc-7.2.44-r5.ebuild b/sci-misc/boinc/boinc-7.2.44-r6.ebuild similarity index 100% rename from sci-misc/boinc/boinc-7.2.44-r5.ebuild rename to sci-misc/boinc/boinc-7.2.44-r6.ebuild diff --git a/sci-misc/boinc/boinc-7.4.52-r5.ebuild b/sci-misc/boinc/boinc-7.4.52-r6.ebuild similarity index 100% rename from sci-misc/boinc/boinc-7.4.52-r5.ebuild rename to sci-misc/boinc/boinc-7.4.52-r6.ebuild diff --git a/sci-misc/boinc/boinc-7.6.33-r5.ebuild b/sci-misc/boinc/boinc-7.6.33-r6.ebuild similarity index 100% rename from sci-misc/boinc/boinc-7.6.33-r5.ebuild rename to sci-misc/boinc/boinc-7.6.33-r6.ebuild diff --git a/sci-misc/boinc/files/boinc.init.in b/sci-misc/boinc/files/boinc.init.in index a5ea8dd13bb5..b46a06e3d384 100644 --- a/sci-misc/boinc/files/boinc.init.in +++ b/sci-misc/boinc/files/boinc.init.in @@ -15,13 +15,13 @@ create_work_directory() { if [ ! -d "${RUNTIMEDIR}" ]; then einfo "Directory ${RUNTIMEDIR} does not exist, creating now." if ! mkdir -p "${RUNTIMEDIR}"; then - eeror "Directory ${RUNTIMEDIR} could not be created!" + eerror "Directory ${RUNTIMEDIR} could not be created!" return 1 fi # ensure proper ownership if ! chown "${USER}:${GROUP}" "${RUNTIMEDIR}"; then - eeror "Changing ownership of '${RUNTIMEDIR}' to '${USER}:${GROUP}' failed!" + eerror "Changing ownership of '${RUNTIMEDIR}' to '${USER}:${GROUP}' failed!" return 1 fi fi @@ -33,7 +33,7 @@ create_work_directory() { fi if ! ln -s "${sslcrt}" "${RUNTIMEDIR}"/ca-bundle.crt; then - eeror "Symlinking '${sslcrt}' failed!" + eerror "Symlinking '${sslcrt}' failed!" return 1 fi fi @@ -58,14 +58,14 @@ fix_lib_symlinks() { # Remove broken symlink if ! rm -f "${tgt}"; then - eeror "Removing '${tgt}' failed!" + eerror "Removing '${tgt}' failed!" return 1 fi fi # symlink the correct path if ! ln -snf "${src}" "${tgt}"; then - eeror "Symlinking '${src}' to '${tgt}' failed!" + eerror "Symlinking '${src}' to '${tgt}' failed!" return 1 fi -- 2.26.2