Tamarin/lib/install.sh

16 lines
255 B
Bash

#!/usr/bin/env bash
set -e
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source "${DIR}/util.sh"
info "Analysing package $1..."
lintian "$1"
info "Updating packages definition..."
apt-get update
info "Installing package $1..."
gdebi --n "$1"