Fix non-functioning update script

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

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;