1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/share/updateall/scripts.d/apt
2023-07-28 10:51:26 +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