dotfiles/share/updateall/scripts.d/apt

7 lines
104 B
Text
Raw Normal View History

#!/bin/sh
[ "$USER" != root ] && exec sudo "$0" "$@"
apt-get update
apt-get upgrade
apt-get autoremove