This commit is contained in:
Your Name 2025-05-03 23:37:53 +12:00
parent 77c7315b0b
commit 6380ce9178

View File

@ -4,6 +4,9 @@
SCRIPT_DIR=$(dirname "$0")
TEMPLATE="$1"
# make sure TEMPLATE doesn't end with a /
TEMPLATE=$(basename "$TEMPLATE")
function die() {
echo "$1"
exit 1
@ -22,6 +25,8 @@ fi
# for now, we need to build and locally install to test the template. Check if it's up to date.
title "Checking template $TEMPLATE"
HASH1=$(ds hash "$SCRIPT_DIR/$TEMPLATE")
HASH2=$(ds hash "/opt/dropshell/templates/$TEMPLATE")