summaryrefslogtreecommitdiff
path: root/sys-apps/personal-utils/files
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-10-08 15:31:00 +0200
committerKarel Kočí <karel.koci@nic.cz>2018-10-08 15:31:00 +0200
commitf8a618986410b63ff81bc06a58ac160b5c172bed (patch)
tree980c01da894f28e829ce644d70c253d8b2ee5feb /sys-apps/personal-utils/files
parent78697abdd48d941d1a80bb9e7bf9b83532340706 (diff)
downloadgentoo-personal-overlay-f8a618986410b63ff81bc06a58ac160b5c172bed.tar.gz
gentoo-personal-overlay-f8a618986410b63ff81bc06a58ac160b5c172bed.tar.bz2
gentoo-personal-overlay-f8a618986410b63ff81bc06a58ac160b5c172bed.zip
sys-apps/personal-utils: fix emergefix
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
}