File: check_dependencies.sh

package info (click to toggle)
git-extras 6.1.0-1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 1,720 kB
  • sloc: sh: 3,480; makefile: 126
file content (10 lines) | stat: -rwxr-xr-x 175 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

err() {
    echo >&2 "$1"
    exit 1
}

if ! command -v column >/dev/null 2>&1; then
    err "Need to install dependency 'column' before installation"
fi