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