security-misc/usr/lib/security-misc/apt-get-update-sanity-test
Patrick Schleizer 203d5cfa68
copyright
2019-10-31 11:19:44 -04:00

12 lines
276 B
Bash
Executable File

#!/bin/bash
## Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
set -x
set -e
set -o pipefail
wc -L "/var/lib/apt/lists/"*InRelease
wc -L "/var/lib/apt/lists/"*InRelease | awk '$1 > 1024 {print; exit 1}'