File: update.sh

package info (click to toggle)
pqiv 2.6-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 500 kB
  • ctags: 659
  • sloc: ansic: 6,227; sh: 318; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 429 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
for FILE in \
	"https://raw.githubusercontent.com/sourcefrog/natsort/master/strnatcmp.c" \
	"https://raw.githubusercontent.com/sourcefrog/natsort/master/strnatcmp.h" \
	"https://raw.github.com/phillipberndt/bostree/master/bostree.c" \
	"https://raw.github.com/phillipberndt/bostree/master/bostree.h"; do

	BASENAME=`basename "$FILE"`
	wget -O $BASENAME.new $FILE && mv $BASENAME.new $BASENAME

done

git diff . || true