mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-04-24 14:58:49 +02:00
19 lines
495 B
Bash
19 lines
495 B
Bash
#!/bin/sh
|
|
|
|
RepoUrl="https://gitlab.com/octtspacc/sitoctt.git"
|
|
BranchThis="sitoctt-next"
|
|
BranchTranslate="translate-cache"
|
|
HugoVersion="0.133.1" # Templating of content summaries and similar things is broken somewhere since > 0.133.1
|
|
|
|
#/bin/sh!
|
|
|
|
set -e
|
|
owd="$(pwd)"
|
|
swd="$(dirname "$(realpath "$0")")"
|
|
if [ ! -e "${swd}/Lib/Globals.sh" ]
|
|
then swd="${swd}/.."
|
|
fi
|
|
eval "$(sed -e 's| = |=|g' "${swd}/../assets/SiteProps.toml")"
|
|
|
|
Python3="$([ -n "$(which python3)" ] && echo python3 || echo python)"
|