File: update_files.sh

package info (click to toggle)
nagios-plugins-contrib 14.20141104
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,784 kB
  • ctags: 1,553
  • sloc: perl: 30,821; sh: 17,475; python: 1,822; lex: 582; makefile: 461; php: 352; ansic: 233; ruby: 96; awk: 81
file content (10 lines) | stat: -rwxr-xr-x 229 bytes parent folder | download | duplicates (8)
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