From e2e0049028891882a022dd69ec542c7b464a3c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 11 Feb 2018 15:31:46 +0100 Subject: Another update to emergefix --- sys-apps/personal-utils/files/emergefix | 20 ++++---------------- sys-apps/personal-utils/personal-utils-1.2-r1.ebuild | 14 -------------- sys-apps/personal-utils/personal-utils-1.3-r1.ebuild | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 30 deletions(-) delete mode 100644 sys-apps/personal-utils/personal-utils-1.2-r1.ebuild create mode 100644 sys-apps/personal-utils/personal-utils-1.3-r1.ebuild (limited to 'sys-apps') diff --git a/sys-apps/personal-utils/files/emergefix b/sys-apps/personal-utils/files/emergefix index 400df3c..2439854 100755 --- a/sys-apps/personal-utils/files/emergefix +++ b/sys-apps/personal-utils/files/emergefix @@ -1,21 +1,9 @@ #!/bin/sh set -e -PRETEND=false -for arg in "$@"; do - case "$arg" in - -p) - PRETEND=true - ;; - esac -done - echo -e '\e[1;34m========== Update packages ==========\e[0m' emerge -auDN --with-bdeps=y @world "$@" - -if ! $PRETEND; then - echo -e '\e[1;34m========== Clean packages ==========\e[0m' - emerge --depclean -a - echo -e '\e[1;34m========== Rebuil packages ==========\e[0m' - revdep-rebuild -fi +echo -e '\e[1;34m========== Clean packages ==========\e[0m' +emerge --depclean -a "$@" +echo -e '\e[1;34m========== Rebuil packages ==========\e[0m' +revdep-rebuild -- "$@" diff --git a/sys-apps/personal-utils/personal-utils-1.2-r1.ebuild b/sys-apps/personal-utils/personal-utils-1.2-r1.ebuild deleted file mode 100644 index 6c98922..0000000 --- a/sys-apps/personal-utils/personal-utils-1.2-r1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -EAPI=6 - -DESCRIPTION="My simple personal system utilities" -HOMEPAGE="http://git.cynerd.cz/gentoo-personal-overlay/" -S="${WORKDIR}" - -LICENSE="GPL-3.0+" -SLOT="0" -KEYWORDS="amd64 x86" - -src_install() { - exeinto /usr/sbin - doexe "${FILESDIR}/emergefix" -} diff --git a/sys-apps/personal-utils/personal-utils-1.3-r1.ebuild b/sys-apps/personal-utils/personal-utils-1.3-r1.ebuild new file mode 100644 index 0000000..6c98922 --- /dev/null +++ b/sys-apps/personal-utils/personal-utils-1.3-r1.ebuild @@ -0,0 +1,14 @@ +EAPI=6 + +DESCRIPTION="My simple personal system utilities" +HOMEPAGE="http://git.cynerd.cz/gentoo-personal-overlay/" +S="${WORKDIR}" + +LICENSE="GPL-3.0+" +SLOT="0" +KEYWORDS="amd64 x86" + +src_install() { + exeinto /usr/sbin + doexe "${FILESDIR}/emergefix" +} -- cgit v1.2.3