zncmodules: use wget -Nc instead of curl -LO

This commit is contained in:
Aminda Suomalainen 2015-04-02 00:06:33 +03:00
parent e21c13ff03
commit 4545365766

View File

@ -4,25 +4,25 @@ set -x
# znc/ is the cloned git repostiory (https://github.com/znc/znc.git) # znc/ is the cloned git repostiory (https://github.com/znc/znc.git)
cd znc/modules cd znc/modules
curl -LO https://raw.githubusercontent.com/DarthGandalf/znc/dgmods/modules/kvirc.cpp wget -Nc https://raw.githubusercontent.com/DarthGandalf/znc/dgmods/modules/kvirc.cpp
curl -LO https://raw.githubusercontent.com/kylef/znc-contrib/master/privmsg.cpp wget -Nc 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 wget -Nc 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 wget -Nc 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 wget -Nc 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 wget -Nc https://github.com/jpnurmi/znc-playback/raw/master/playback.cpp
curl -LO https://github.com/jpnurmi/znc-chanfilter/raw/master/chanfilter.cpp wget -Nc https://github.com/jpnurmi/znc-chanfilter/raw/master/chanfilter.cpp
curl -LO https://github.com/KindOne-/znc-modules/raw/master/modules/freenodeinfo.cpp wget -Nc 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 wget -Nc https://raw.githubusercontent.com/NuclearW/znc-modules/master/privmsg_auto/privmsg_auto.cpp
curl -LO https://github.com/jpnurmi/znc-clientbuffer/raw/master/clientbuffer.cpp wget -Nc https://github.com/jpnurmi/znc-clientbuffer/raw/master/clientbuffer.cpp
# UNSTABLE! # UNSTABLE!
#curl -LO https://raw.githubusercontent.com/kylef/znc-contrib/master/clientaway.cpp #wget -Nc https://raw.githubusercontent.com/kylef/znc-contrib/master/clientaway.cpp
rm clientaway.cpp rm clientaway.cpp
rm ~/.local/lib/znc/clientaway.so rm ~/.local/lib/znc/clientaway.so
# modpython # modpython
curl -LO https://raw.githubusercontent.com/jreese/znc-push/python/push.py wget -Nc https://raw.githubusercontent.com/jreese/znc-push/python/push.py
curl -LO https://gist.github.com/kylef/840763/raw/pyeval.py wget -Nc https://gist.github.com/kylef/840763/raw/pyeval.py
curl -LO https://github.com/Nothing4You/znc-modules/raw/master/kill_notice.py wget -Nc https://github.com/Nothing4You/znc-modules/raw/master/kill_notice.py
# now you should compile znc normally or use zncconfigure in this # now you should compile znc normally or use zncconfigure in this
# repository. # repository.