1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/share/updateall/scripts.d/10-apt

7 lines
121 B
Text
Executable file

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