diff --git a/etc/portage/repo.postsync.d/sync_gentoo_cache b/etc/portage/repo.postsync.d/sync_gentoo_cache index e52d8bf..ec47341 100755 --- a/etc/portage/repo.postsync.d/sync_gentoo_cache +++ b/etc/portage/repo.postsync.d/sync_gentoo_cache @@ -1,7 +1,6 @@ #!/bin/bash source /etc/init.d/functions.sh -source /etc/portage/util-functions.sh repository_name="${1}" repository_path="${3}" diff --git a/etc/portage/repo.postsync.d/sync_gentoo_dtd b/etc/portage/repo.postsync.d/sync_gentoo_dtd index 431003e..3086b06 100755 --- a/etc/portage/repo.postsync.d/sync_gentoo_dtd +++ b/etc/portage/repo.postsync.d/sync_gentoo_dtd @@ -1,7 +1,6 @@ #!/bin/bash source /etc/init.d/functions.sh -source /etc/portage/util-functions.sh repository_name="${1}" repository_path="${3}" diff --git a/etc/portage/repo.postsync.d/sync_gentoo_glsa b/etc/portage/repo.postsync.d/sync_gentoo_glsa index f0e93c7..3ee9b9b 100755 --- a/etc/portage/repo.postsync.d/sync_gentoo_glsa +++ b/etc/portage/repo.postsync.d/sync_gentoo_glsa @@ -1,7 +1,6 @@ #!/bin/bash source /etc/init.d/functions.sh -source /etc/portage/util-functions.sh repository_name="${1}" repository_path="${3}" diff --git a/etc/portage/repo.postsync.d/sync_gentoo_herds_xml b/etc/portage/repo.postsync.d/sync_gentoo_herds_xml index 2d84e14..edfcf65 100755 --- a/etc/portage/repo.postsync.d/sync_gentoo_herds_xml +++ b/etc/portage/repo.postsync.d/sync_gentoo_herds_xml @@ -1,7 +1,6 @@ #!/bin/bash source /etc/init.d/functions.sh -source /etc/portage/util-functions.sh repository_name="${1}" repository_path="${3}" diff --git a/etc/portage/repo.postsync.d/sync_gentoo_news b/etc/portage/repo.postsync.d/sync_gentoo_news index 8568a83..358f0e2 100755 --- a/etc/portage/repo.postsync.d/sync_gentoo_news +++ b/etc/portage/repo.postsync.d/sync_gentoo_news @@ -1,7 +1,6 @@ #!/bin/bash source /etc/init.d/functions.sh -source /etc/portage/util-functions.sh repository_name="${1}" repository_path="${3}" diff --git a/etc/portage/util-functions.sh b/etc/portage/util-functions.sh deleted file mode 100644 index 6fe56e4..0000000 --- a/etc/portage/util-functions.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -source /etc/init.d/functions.sh - -eend_die() { - eend "$@" - [[ $1 -ne 0 ]] && exit $1 -} - -die() { - eerror "$*" - exit 1 -}