diff options
author | Karel Kočí <cynerd@email.cz> | 2018-02-11 15:31:46 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-02-11 15:31:46 +0100 |
commit | e2e0049028891882a022dd69ec542c7b464a3c4c (patch) | |
tree | b2b3557fd0efbb27dafd42ac7d19835e39ca4ba9 /sys-apps/personal-utils/files/emergefix | |
parent | b0e22c5f037c2c09e2629770a7ae89c1cc1e8744 (diff) | |
download | gentoo-personal-overlay-e2e0049028891882a022dd69ec542c7b464a3c4c.tar.gz gentoo-personal-overlay-e2e0049028891882a022dd69ec542c7b464a3c4c.tar.bz2 gentoo-personal-overlay-e2e0049028891882a022dd69ec542c7b464a3c4c.zip |
Another update to emergefix
Diffstat (limited to 'sys-apps/personal-utils/files/emergefix')
-rwxr-xr-x | sys-apps/personal-utils/files/emergefix | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/sys-apps/personal-utils/files/emergefix b/sys-apps/personal-utils/files/emergefix index 400df3c..2439854 100755 --- a/sys-apps/personal-utils/files/emergefix +++ b/sys-apps/personal-utils/files/emergefix @@ -1,21 +1,9 @@ #!/bin/sh set -e -PRETEND=false -for arg in "$@"; do - case "$arg" in - -p) - PRETEND=true - ;; - esac -done - echo -e '\e[1;34m========== Update packages ==========\e[0m' emerge -auDN --with-bdeps=y @world "$@" - -if ! $PRETEND; then - echo -e '\e[1;34m========== Clean packages ==========\e[0m' - emerge --depclean -a - echo -e '\e[1;34m========== Rebuil packages ==========\e[0m' - revdep-rebuild -fi +echo -e '\e[1;34m========== Clean packages ==========\e[0m' +emerge --depclean -a "$@" +echo -e '\e[1;34m========== Rebuil packages ==========\e[0m' +revdep-rebuild -- "$@" |