12 lines
136 B
Bash
12 lines
136 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
set -eEuxo pipefail
|
||
|
|
||
|
|
||
|
apt clean
|
||
|
apt update
|
||
|
apt full-upgrade
|
||
|
apt autopurge
|
||
|
apt purge $(dpkg -l | awk '/^rc/ { print $2 }')
|