#!/bin/bash
+if [[ "${BASH_SOURCE[0]}" == "${0}" ]] ; then
+ echo "This script can not be executed standalone - it can only be source()d" 1>&2
+ exit 1
+fi
+
# "autodie"
set -e
# flatten
pkgs="$@"
- run_or_err "Installing Debian APT packages: $pkgs" "sudo apt-get install --allow-unauthenticated --no-install-recommends -y $pkgs"
+ run_or_err "Installing APT packages: $pkgs" "sudo apt-get install --allow-unauthenticated --no-install-recommends -y $pkgs"
}
extract_prereqs() {