git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/nagios-plugins-contrib-24.20190301~bpo9+1/check_libs/update_files.sh
blob: 6b45c1784ef2d50b5ec00eff17acfb5b7c648708 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

for i in nagios-check-libs nagios-check-libs.conf; do
    tmp=`mktemp`
    if wget -O ${tmp} "http://svn.noreply.org/svn/weaselutils/trunk/${i}"; then
        mv ${tmp} ${i}
    else
        rm -f ${tmp}
    fi
done