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/emergefix6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys-apps/personal-utils/files/emergefix b/sys-apps/personal-utils/files/emergefix
index 59daee5..8104342 100755
--- a/sys-apps/personal-utils/files/emergefix
+++ b/sys-apps/personal-utils/files/emergefix
@@ -2,14 +2,12 @@
set -e
echo -e '\e[1;34m========== Update packages ==========\e[0m'
-emerge -auDN --with-bdeps=y --keep-going=y @world "$@"
-[ $? -eq 0 ] || {
+emerge -auDN --with-bdeps=y --keep-going=y @world "$@" || {
echo -ne "\e[1;31mContinue?\e[0m "
read
}
echo -e '\e[1;34m========== Rebuil packages ==========\e[0m'
-revdep-rebuild -- "$@"
-[ $? -eq 0 ] || {
+revdep-rebuild -- "$@" || {
echo -ne "\e[1;31mContinue?\e[0m "
read
}