dotfiles/config/updateall/scripts/10-apt

7 lines
140 B
Text
Executable file

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