dotfiles/share/updateall/scripts.d/10-apt
2023-09-15 10:04:54 +02:00

6 lines
107 B
Text
Executable file

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