mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-22 19:29:24 +01:00
bash: add znc scripts
I cannot find them with gist search.
This commit is contained in:
parent
5f070eec86
commit
98b2a06dbd
10
bash/zncconfigure.bash
Executable file
10
bash/zncconfigure.bash
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
cd znc
|
||||||
|
./autogen.sh
|
||||||
|
mkdir -p build
|
||||||
|
cd build
|
||||||
|
# PYENV (two lines)
|
||||||
|
export LD_LIBRARY_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib
|
||||||
|
export PKG_CONFIG_PATH=/home/users/mkaysi/.pyenv/versions/3.4.1/lib/pkgconfig/
|
||||||
|
../configure --enable-debug --enable-perl --enable-python --enable-swig --enable-tcl --disable-cyrus --prefix=$HOME/.local
|
||||||
|
make -j$(nproc)
|
19
bash/zncmodules.bash
Executable file
19
bash/zncmodules.bash
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# This script downloads external ZNC modules which I use.
|
||||||
|
cd znc
|
||||||
|
cd modules
|
||||||
|
echo "Downloading kvirc.cpp"
|
||||||
|
curl -LO https://raw.githubusercontent.com/DarthGandalf/znc/dgmods/modules/kvirc.cpp
|
||||||
|
#echo "Downloading otr.cpp"
|
||||||
|
#curl -LO https://raw.githubusercontent.com/mmilata/znc-otr/master/otr.cpp
|
||||||
|
echo "Downloading privmsg.cpp"
|
||||||
|
curl -LO https://raw.githubusercontent.com/kylef/znc-contrib/master/privmsg.cpp
|
||||||
|
|
||||||
|
# ~/.znc/modules
|
||||||
|
mkdir -p ~/.znc/modules
|
||||||
|
cd ~/.znc/modules
|
||||||
|
echo "Downloading push.py"
|
||||||
|
curl -LO https://raw.githubusercontent.com/jreese/znc-push/python/push.py
|
||||||
|
|
||||||
|
echo "You can now run zncconfigure.bash"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user