summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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