Fix non-functioning update script

This commit is contained in:
Manuel Thalmann 2024-06-18 22:24:59 +02:00
parent 22b9be73ee
commit ae556b4b66

View file

@ -1,10 +1,12 @@
pushd "${BASH_SOURCE%/*}" > /dev/null;
patchFile="$(realpath -m valhalla.patch)";
. ./template-path.sh;
cp -r "$(templatePath)"/* ..;
if [ -f "$rootDir/valhalla.patch" ];
if [ -f "$patchFile" ];
then
git apply ./valhalla.patch;
pushd .. > /dev/null;
git apply "$patchFile";
popd > /dev/null;
fi;
popd > /dev/null;