diff options
author | Karel Kočí <cynerd@email.cz> | 2018-10-05 14:36:37 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-10-05 14:36:37 +0200 |
commit | 490de09100ab84d0232b838790c2348264302870 (patch) | |
tree | e7439ee2ed8d6e21b87470fc783cced91c53ec6b /sys-apps/personal-utils/files | |
parent | c94a6050e392876b8932f6237200f289f144dfe4 (diff) | |
download | gentoo-personal-overlay-490de09100ab84d0232b838790c2348264302870.tar.gz gentoo-personal-overlay-490de09100ab84d0232b838790c2348264302870.tar.bz2 gentoo-personal-overlay-490de09100ab84d0232b838790c2348264302870.zip |
sys-apps/personal-utils: emergefix ask to continue
Diffstat (limited to 'sys-apps/personal-utils/files')
-rwxr-xr-x | sys-apps/personal-utils/files/emergefix | 8 |
1 files changed, 8 insertions, 0 deletions
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 "$@" |