dotfiles/share/updateall/scripts.d/apt

6 lines
108 B
Text
Executable file

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