From 2dbc733d906a4c0b6fa336263eb1a1005f7c1968 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Sun, 18 Dec 2022 11:44:24 +0100 Subject: [PATCH] ignore already applied --- includes/patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/patch.sh b/includes/patch.sh index 0a623b20..5681ca69 100644 --- a/includes/patch.sh +++ b/includes/patch.sh @@ -2,7 +2,7 @@ patchv22120(){ echo "Applying 22.12 HotPatch 1" -( wget -q -P /tmp https://github.com/truecharts/truetool/raw/main/hotpatch/2212/HP1.patch && echo "download completed" || echo "download failed" ) && ( patch -s -p0 -d /usr/lib/python3/dist-packages/middlewared/ < /tmp/HP1.patch && echo "patch completed" || echo "patch failed" ) && rm -rf /tmp/HP1.patch +( wget -q -P /tmp https://github.com/truecharts/truetool/raw/main/hotpatch/2212/HP1.patch && echo "download completed" || echo "download failed" ) && ( patch -N -s -p0 -d /usr/lib/python3/dist-packages/middlewared/ < /tmp/HP1.patch && echo "patch completed" || echo "patch failed or skipped, not critical" ) && rm -rf /tmp/HP1.patch } export -f patchv22120