diff --git a/archiso/scripts/update.sh b/archiso/scripts/update.sh index 0179923e..0a0d70ba 100755 --- a/archiso/scripts/update.sh +++ b/archiso/scripts/update.sh @@ -1,11 +1,12 @@ 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 "$patchFile"; + git apply --directory=archiso "$patchFile"; popd > /dev/null; fi;