#!/bin/bash if [[ $EUID -ne 0 ]]; then echo "You need to run this as root" 1>&2 exit 1 fi DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" cd $DIR dpkg -i tails/*.deb