``` #!/usr/bin/env bash set -euo pipefail dn=$(dirname "$0") # shellcheck source=src/cmdlib.sh . "${dn}"/cmdlib.sh pkgcachesize=$(du --bytes --max-depth 1 cache \ | awk '/cache\/pkgcache-repo/ {print $1; exit}') pkglimit=$((1024 * 1024 * 1024 * 5)) if [[ "${pkgcachesize}" -gt "${pkglimit}" ]] then echo "hello bh7cw" cosa delete-refpkg else echo "hello wc7hb" fi ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up