From 490de09100ab84d0232b838790c2348264302870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 5 Oct 2018 14:36:37 +0200 Subject: sys-apps/personal-utils: emergefix ask to continue --- sys-apps/personal-utils/files/emergefix | 8 ++++++++ sys-apps/personal-utils/personal-utils-1.5.2-r1.ebuild | 14 -------------- sys-apps/personal-utils/personal-utils-1.5.3-r1.ebuild | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 14 deletions(-) delete mode 100644 sys-apps/personal-utils/personal-utils-1.5.2-r1.ebuild create mode 100644 sys-apps/personal-utils/personal-utils-1.5.3-r1.ebuild (limited to 'sys-apps/personal-utils') diff --git a/sys-apps/personal-utils/files/emergefix b/sys-apps/personal-utils/files/emergefix index 1147b57..59daee5 100755 --- a/sys-apps/personal-utils/files/emergefix +++ b/sys-apps/personal-utils/files/emergefix @@ -3,7 +3,15 @@ set -e echo -e '\e[1;34m========== Update packages ==========\e[0m' emerge -auDN --with-bdeps=y --keep-going=y @world "$@" +[ $? -eq 0 ] || { + echo -ne "\e[1;31mContinue?\e[0m " + read +} echo -e '\e[1;34m========== Rebuil packages ==========\e[0m' revdep-rebuild -- "$@" +[ $? -eq 0 ] || { + echo -ne "\e[1;31mContinue?\e[0m " + read +} echo -e '\e[1;34m========== Clean packages ==========\e[0m' emerge --depclean -a "$@" diff --git a/sys-apps/personal-utils/personal-utils-1.5.2-r1.ebuild b/sys-apps/personal-utils/personal-utils-1.5.2-r1.ebuild deleted file mode 100644 index 2cd5bcb..0000000 --- a/sys-apps/personal-utils/personal-utils-1.5.2-r1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -EAPI=7 - -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() { - dosbin "${FILESDIR}/emergefix" - dosbin "${FILESDIR}/gentoo-mount" -} diff --git a/sys-apps/personal-utils/personal-utils-1.5.3-r1.ebuild b/sys-apps/personal-utils/personal-utils-1.5.3-r1.ebuild new file mode 100644 index 0000000..2cd5bcb --- /dev/null +++ b/sys-apps/personal-utils/personal-utils-1.5.3-r1.ebuild @@ -0,0 +1,14 @@ +EAPI=7 + +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() { + dosbin "${FILESDIR}/emergefix" + dosbin "${FILESDIR}/gentoo-mount" +} -- cgit v1.2.3