From 05c62a8e187776116a24b2973d73c44525d36682 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Fri, 14 Jan 2022 11:21:35 +0100 Subject: [PATCH] add rc2 patching script with verbosity --- tools/patchrc2.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tools/patchrc2.sh diff --git a/tools/patchrc2.sh b/tools/patchrc2.sh new file mode 100644 index 00000000000..d24af71d91d --- /dev/null +++ b/tools/patchrc2.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +set -eu + +( wget -q -P /tmp https://github.com/truecharts/apps/raw/master/tools/RC2-HP1.deb && echo "download completed" || echo "download failed" ) && ( dpkg -i /root/python3-kubernetes-asyncio_20220112111117~truenas+1_all.deb && echo "patch completed" || echo "patch failed )" && rm -rf /tmp/RC2-HP1.deb && echo "Restarting Middleware..." && systemctl restart middlewared