From 295e4d6da821521b0956c7e8fe2eed55c3953f73 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 9 Jul 2020 19:29:53 +0200 Subject: weechat: Add update_plugin_header.sh script --- weechat/update_plugin_header.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 weechat/update_plugin_header.sh diff --git a/weechat/update_plugin_header.sh b/weechat/update_plugin_header.sh new file mode 100755 index 0000000..0499c15 --- /dev/null +++ b/weechat/update_plugin_header.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -euo pipefail +version="$(weechat --version)" +echo "Detected weechat v${version}" +curl "https://raw.githubusercontent.com/weechat/weechat/v${version}/src/plugins/weechat-plugin.h" -o weechat-plugin.h -- cgit v1.2.3-70-g09d2