dotfiles/share/updateall/scripts.d/apt

6 lines
104 B
Text
Executable file

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