commit:     04b937cfe00e239e756a9c780783e14df069b904
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Tue Jun 17 01:52:32 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 17 03:00:43 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=04b937cf

emerge-webrsync: drop the ebegin() and eend() functions

At present, the program makes no use of them.

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/emerge-webrsync | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index d285031dcb..31f710145d 100755
--- a/bin/emerge-webrsync
+++ b/bin/emerge-webrsync
@@ -626,22 +626,6 @@ functions_script="${EPREFIX}/lib/gentoo/functions.sh"
 source "${functions_script}" || {
        echo "${argv0}: Could not source ${functions_script}!" 1>&2
 
-       ebegin() {
-               printf '%s*%s %s ... ' "${GOOD}" "${NORMAL}" "$*"
-       }
-
-       eend() {
-               local r=${1:-0}
-               shift
-
-               if [[ $r -eq 0 ]] ; then
-                       printf '[ %sok%s ]\n' "${GOOD}" "${NORMAL}"
-               else
-                       printf '%s [ %s!!%s ]\n' "$*" "${BAD}" "${NORMAL}"
-               fi
-               return "${r}"
-       }
-
        einfo() {
                echo "${argv0##*/}: $*"
        }
@@ -653,7 +637,6 @@ source "${functions_script}" || {
        eerror() {
                echo "${argv0##*/}: error: $*" 1>&2
        }
-
 }
 
 # Only echo if in normal mode

Reply via email to