Add a script for updating the template
This commit is contained in:
parent
a7f80a5726
commit
baed0cccb9
1 changed files with 10 additions and 0 deletions
10
archiso/scripts/update.sh
Executable file
10
archiso/scripts/update.sh
Executable 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;
|
Loading…
Reference in a new issue