gitignore: add up2date items
And fix related script. Version: 9.6.1-1
This commit is contained in:
parent
b0108e4725
commit
06a51ffa8a
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,6 +1,6 @@
|
||||
/postgresql-9.5.5.tar.bz2
|
||||
/postgresql-9.5.5.tar.bz2.sha256
|
||||
/postgresql-9.6.1.tar.bz2
|
||||
/postgresql-9.6.1.tar.bz2.sha256
|
||||
/postgresql-setup-5.0.tar.gz
|
||||
/postgresql-9.5.4.tar.bz2
|
||||
/postgresql-9.5.4.tar.bz2.sha256
|
||||
/postgresql-9.6.0-US.pdf
|
||||
/postgresql-9.6.0.tar.bz2
|
||||
/postgresql-9.6.0.tar.bz2.sha256
|
||||
/postgresql-9.6.1-US.pdf
|
||||
|
@ -1,10 +1,13 @@
|
||||
#! /bin/sh -x
|
||||
#! /bin/sh
|
||||
|
||||
rm sources .gitignore
|
||||
set -e
|
||||
spectool -S *.spec | cut -d' ' -f2 \
|
||||
| grep -E -e 'postgresql-.*\.tar\.*' -e 'postgresql.*\.pdf' | sort | \
|
||||
while read line
|
||||
do
|
||||
base=`basename "$line"`
|
||||
md5sum "$base"
|
||||
echo " * handling $base"
|
||||
md5sum "$base" >> sources
|
||||
echo "/$base" >> .gitignore
|
||||
done
|
Loading…
Reference in New Issue
Block a user