Add a script for updating the template

This commit is contained in:
Manuel Thalmann 2024-06-18 22:02:14 +02:00
parent a7f80a5726
commit baed0cccb9

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;