We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac8d67 commit 7d7d6f6Copy full SHA for 7d7d6f6
zim/library/update-kiwixserve-template.sh
@@ -55,6 +55,10 @@ echo "Applying Kiwix Patch…"
55
56
echo "$KIWIX_PATCH" | patch --input=- --output=$TEMPLATE_TMP_PATH -p1 $TEMPLATE_SRC_PATH
57
58
+echo "Replacing KIWIXCACHEID with ${LIBKIWIX_VERSION}"
59
+
60
+sed "s/KIWIXCACHEID/$LIBKIWIX_VERSION/g" $TEMPLATE_TMP_PATH > $TEMPLATE_TMP_PATH
61
62
echo "Replacing final file…"
63
64
mv $TEMPLATE_TMP_PATH $TEMPLATE_PATH
0 commit comments