File: update.sh

package info (click to toggle)
pqiv 2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 700 kB
  • sloc: ansic: 9,781; sh: 360; makefile: 13
file content (13 lines) | stat: -rw-r--r-- 429 bytes parent folder | download | duplicates (3)
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