#!/bin/sh

http_source="http://ftp.de.debian.org/debian/pool/contrib/n/nvidia-persistenced/"
version="384.111"

for file in `wget -qO- "${http_source}" | ./bquery a -a href | grep "${version}" | grep -e '_amd64\.deb' -e '_all\.deb'`; do
  wget "${http_source}${file}"
done
