pushd "${BASH_SOURCE%/*}" > /dev/null;
patchFile="$(realpath -m valhalla.patch)";
. ./template-path.sh;
cp -r "$(templatePath)"/* ..

if [ -f "$patchFile" ];
then
    pushd .. > /dev/null;
    git apply --directory=archiso "$patchFile";
    popd > /dev/null;
fi;

popd > /dev/null;