10 lines
157 B
Text
10 lines
157 B
Text
|
#!/bin/bash
|
||
|
# Do an apt-get clean. This will free some space.
|
||
|
|
||
|
set -eu
|
||
|
set -o pipefail
|
||
|
|
||
|
if ! mount | grep /var/cache/apt/archives; then
|
||
|
apt-get clean
|
||
|
fi
|