summaryrefslogtreecommitdiff
path: root/sys-apps/personal-utils/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/personal-utils/files')
-rwxr-xr-xsys-apps/personal-utils/files/emergefix8
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 "$@"