summaryrefslogtreecommitdiff
path: root/sys-apps/personal-utils/files/emergefix
blob: 24398546e22a6aabfb2a4c0774249eaef5fb560e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

echo -e '\e[1;34m========== Update packages ==========\e[0m'
emerge -auDN --with-bdeps=y @world "$@"
echo -e '\e[1;34m========== Clean packages ==========\e[0m'
emerge --depclean -a "$@"
echo -e '\e[1;34m========== Rebuil packages ==========\e[0m'
revdep-rebuild -- "$@"