summaryrefslogtreecommitdiff
path: root/sys-apps
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-02-11 15:31:46 +0100
committerKarel Kočí <cynerd@email.cz>2018-02-11 15:31:46 +0100
commite2e0049028891882a022dd69ec542c7b464a3c4c (patch)
treeb2b3557fd0efbb27dafd42ac7d19835e39ca4ba9 /sys-apps
parentb0e22c5f037c2c09e2629770a7ae89c1cc1e8744 (diff)
downloadgentoo-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')
-rwxr-xr-xsys-apps/personal-utils/files/emergefix20
-rw-r--r--sys-apps/personal-utils/personal-utils-1.3-r1.ebuild (renamed from sys-apps/personal-utils/personal-utils-1.2-r1.ebuild)0
2 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 -- "$@"
diff --git a/sys-apps/personal-utils/personal-utils-1.2-r1.ebuild b/sys-apps/personal-utils/personal-utils-1.3-r1.ebuild
index 6c98922..6c98922 100644
--- a/sys-apps/personal-utils/personal-utils-1.2-r1.ebuild
+++ b/sys-apps/personal-utils/personal-utils-1.3-r1.ebuild