dotfiles/config/updateall/scripts/10-apt

9 lines
158 B
Text
Executable file

#!/usr/bin/env sh
[ "$(whoami)" != root ] && exec sudo -- "$0" "$@"
set -x -e
apt-get clean
apt-get update
apt-file update
apt-get upgrade
apt-get autopurge