14 lines
478 B
Markdown
14 lines
478 B
Markdown
# Ubuntu Installation Cleanup Scripts
|
|
|
|
## Usage
|
|
|
|
Validate the scripts.
|
|
|
|
Calculate the `sha256` hash for yourself.
|
|
|
|
Download and execute the script if the hash matches:
|
|
|
|
```
|
|
curl -sSL https://git.giftfish.de/ston1th/cleanup/raw/branch/master/ubuntu_2004_full.sh >/tmp/cleanup.sh
|
|
[ "$(sha256sum /tmp/cleanup.sh|cut -d' ' -f1)" = "fe2827d03ebba6e058ed7b9e56116eef78a45606f2e5f2956b2b2f495f042724" ] && sh /tmp/cleanup.sh || echo "error: cleanup script hash does not match" >&2
|
|
```
|