diff options
Diffstat (limited to 'weechat')
-rwxr-xr-x | weechat/update_plugin_header.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |