#!/bin/bash # NEEDS WORK! DIR="$(dirname "$(readlink -f "$0")")" ARCH=${1:-amd64} \cp --verbose -rf $DIR/BIN/$ARCH /opt/caddy/bin/caddy