Updates to update-tool

This commit is contained in:
Austen Adler 2017-01-13 00:42:26 -05:00
parent 6582eeabc1
commit 9a192a4852
No known key found for this signature in database
GPG Key ID: 7ECEE590CCDFE3F1

View File

@ -127,13 +127,15 @@ update-tool() {
while [[ "$RESP" != "q" ]]; do
CMD=${RESP:0:1}
case "$CMD" in
p) update;;
u) update;;
l) layman -S ;;
u) upgrade;;
g) upgrade;;
e) etc-update;;
p) emerge -Av @preserved-rebuild;;
m) emerge -Av @module-rebuild;;
d) emerge -Ava --depclean;;
h) haskell-updater -- --usepkg=n;;
p) perl-cleaner --reallyall;;
c) perl-cleaner --reallyall;;
y) python-updater;;
r) revdep-rebuild;;
q) return;;
@ -143,17 +145,20 @@ update-tool() {
continue
fi
echo "Commands:"
echo "p: update"
echo "u: update"
echo "l: layman -S"
echo "u: upgrade"
echo "g: upgrade"
echo "e: etc-update"
echo "p: emerge @preserved-rebuild"
echo "m: emerge @module-rebuild"
echo "d: emerge --ask --depclean"
echo "h: haskell-updater -- --usepkg=n"
echo "p: perl-cleaner --reallyall"
echo "c: perl-cleaner --reallyall"
echo "y: python-updater"
echo "r: revdep-rebuild"
echo "q: quit"
echo -n "> "
echo '\a'
read RESP
done
}