aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ubuntu/check-integrity.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ubuntu/check-integrity.sh')
-rwxr-xr-xsrc/ubuntu/check-integrity.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ubuntu/check-integrity.sh b/src/ubuntu/check-integrity.sh
new file mode 100755
index 0000000..39e01dd
--- /dev/null
+++ b/src/ubuntu/check-integrity.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+set -o errexit -o nounset -o pipefail
+shopt -s inherit_errexit lastpipe
+
+if ! command -v debsums &> /dev/null; then
+ echo 'Where is debsums?' >&2
+ exit 1
+fi
+
+debsums -ca