Fix non-functioning update script
This commit is contained in:
parent
22b9be73ee
commit
ae556b4b66
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue