Add a script for updating the template

This commit is contained in:
Manuel Thalmann 2024-06-18 22:02:14 +02:00
parent 7cf91dfd31
commit 5e81591af4

10
archiso/scripts/update.sh Executable file
View file

@ -0,0 +1,10 @@
pushd "${BASH_SOURCE%/*}" > /dev/null;
. ./template-path.sh;
cp -r "$(templatePath)"/* ..;
if [ -f "$rootDir/valhalla.patch" ];
then
git apply ./valhalla.patch;
fi;
popd > /dev/null;