From efc326bb21ea6733797fa2376d7c88685c0f9877 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 20 Jun 2024 16:57:15 +0200 Subject: [PATCH] Actually update the repository --- archiso/scripts/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;