PortValhalla/archiso/scripts/update.sh

14 lines
282 B
Bash
Executable file

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 --directory=archiso "$patchFile";
popd > /dev/null;
fi;
popd > /dev/null;