summaryrefslogtreecommitdiff
path: root/sys-apps/personal-utils/files/emergefix
blob: 1147b57b04d76288044ed184ff164bf7116b8c29 (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 --keep-going=y @world "$@"
echo -e '\e[1;34m========== Rebuil packages ==========\e[0m'
revdep-rebuild -- "$@"
echo -e '\e[1;34m========== Clean packages ==========\e[0m'
emerge --depclean -a "$@"