Tamarin/lib/install.sh

13 lines
256 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source "${DIR}/util.sh"
info "Updating packages definition..."
2015-08-05 15:49:04 +02:00
apt-get update 2> >(error) 1> >(info)
info "Installing package $1..."
2015-08-05 15:49:04 +02:00
gdebi --n "$1" 2> >(error) 1> >(info)