File: check-pgb-version

package info (click to toggle)
check-pgbackrest 2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,396 kB
  • sloc: perl: 972; sh: 488; python: 145; makefile: 33
file content (10 lines) | stat: -rwxr-xr-x 201 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -eux

VERSION=$(dpkg-parsechangelog -SVersion)

check_pgbackrest -s check_pgb_version --target ${VERSION%-*}

check_pgbackrest -s check_pgb_version --target 0.1 || ERR=$?
[ "$ERR" = 2 ]