1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/config/updateall/scripts/10-apt

10 lines
158 B
Text
Raw Normal View History

2024-04-12 09:39:27 +02:00
#!/usr/bin/env sh
[ "$(whoami)" != root ] && exec sudo -- "$0" "$@"
set -x -e
apt-get clean
apt-get update
apt-file update
apt-get upgrade
apt-get autopurge