#!/bin/sh if [ -z "$1" ]; then echo "Usage: $0 dest" >&2 exit 1 fi install -Dm755 -t "$1" run battcheck install -Dm644 -t "$1" conf