PortValhalla/archiso/scripts/update.sh

13 lines
233 B
Bash
Raw Normal View History

2024-06-18 20:02:14 +00:00
pushd "${BASH_SOURCE%/*}" > /dev/null;
2024-06-18 20:24:59 +00:00
patchFile="$(realpath -m valhalla.patch)";
2024-06-18 20:02:14 +00:00
. ./template-path.sh;
2024-06-18 20:24:59 +00:00
if [ -f "$patchFile" ];
2024-06-18 20:02:14 +00:00
then
2024-06-18 20:24:59 +00:00
pushd .. > /dev/null;
git apply "$patchFile";
popd > /dev/null;
2024-06-18 20:02:14 +00:00
fi;
popd > /dev/null;