sci-misc/boinc: Fix typos in init script
authorSven Eden <yamakuzure@gmx.net>
Sat, 19 Aug 2017 15:39:18 +0000 (17:39 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 19 Aug 2017 19:01:25 +0000 (21:01 +0200)
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

sci-misc/boinc/boinc-7.2.44-r6.ebuild [moved from sci-misc/boinc/boinc-7.2.44-r5.ebuild with 100% similarity]
sci-misc/boinc/boinc-7.4.52-r6.ebuild [moved from sci-misc/boinc/boinc-7.4.52-r5.ebuild with 100% similarity]
sci-misc/boinc/boinc-7.6.33-r6.ebuild [moved from sci-misc/boinc/boinc-7.6.33-r5.ebuild with 100% similarity]
sci-misc/boinc/files/boinc.init.in

index a5ea8dd13bb551b807a9b96c79b4c66af7caf397..b46a06e3d3843d313e35cbeb4b794d326e8e7737 100644 (file)
@@ -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