Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 15 lines (15 sloc) 539 Bytes
#!/bin/bash
http_proxy=beehive:3128
wget --quiet http://pci-ids.ucw.cz/v2.2/pci.ids -O pci.ids
( cd /usr/share/hwdata && md5sum pci.ids ) > pci.ids.md5
PCIVER=$(grep -Pom1 '\bVersion:\s*\K\S+' pci.ids)
md5sum --status -c pci.ids.md5
if [ $? == 1 ]; then
(
echo
md5sum=($(/src/mariux/md5repo.sh pci.ids))
echo "cd ~/git/bee-files;scripts/bump-pciutils.sh ${PCIVER} ${md5sum[2]}"
echo
diff {/usr/share/hwdata/,}pci.ids
) | mailx -s "[cron] please update pci-utils.be0" wwwutz@molgen.mpg.de
fi