scripts/bash/zncmodules

28 lines
1.4 KiB
Bash
Executable File

#!/usr/bin/env bash
# This script downloads external ZNC modules which I use.
set -x
# znc/ is the cloned git repostiory (https://github.com/znc/znc.git)
cd znc/modules
curl -LO https://raw.githubusercontent.com/DarthGandalf/znc/dgmods/modules/kvirc.cpp
curl -LO https://raw.githubusercontent.com/kylef/znc-contrib/master/privmsg.cpp
curl -LO https://github.com/NuclearW/znc-modules/raw/master/away_notify/away_notify.cpp
curl -LO https://github.com/NuclearW/znc-modules/raw/master/away_notify/away_notify_unsolicited.cpp
curl -LO https://raw.githubusercontent.com/Zarthus/Code-Snippets/master/c++/znc-modules/ctcp_notifier.cpp
curl -LO https://github.com/jpnurmi/znc-playback/raw/master/playback.cpp
curl -LO https://github.com/jpnurmi/znc-chanfilter/raw/master/chanfilter.cpp
curl -LO https://github.com/KindOne-/znc-modules/raw/master/modules/freenodeinfo.cpp
curl -LO https://raw.githubusercontent.com/NuclearW/znc-modules/master/privmsg_auto/privmsg_auto.cpp
# UNSTABLE!
#curl -LO https://raw.githubusercontent.com/kylef/znc-contrib/master/clientaway.cpp
rm clientaway.cpp
rm ~/.local/lib/znc/clientaway.so
# modpython
curl -LO https://raw.githubusercontent.com/jreese/znc-push/python/push.py
curl -LO https://gist.github.com/kylef/840763/raw/pyeval.py
curl -LO https://github.com/Nothing4You/znc-modules/raw/master/kill_notice.py
# now you should compile znc normally or use zncconfigure in this
# repository.