[Debian-NP-Commits] r306 - people/vagrant/simple-cdd
Vagrant Cascadian
debian-np-devel@lists.alioth.debian.org
Fri, 03 Dec 2004 23:22:47 -0700
Author: vagrant-guest
Date: Fri Dec 3 23:22:32 2004
New Revision: 306
Modified:
people/vagrant/simple-cdd/checkpackages
Log:
also look for _ in package filename...
Modified: people/vagrant/simple-cdd/checkpackages
==============================================================================
--- people/vagrant/simple-cdd/checkpackages (original)
+++ people/vagrant/simple-cdd/checkpackages Fri Dec 3 23:22:32 2004
@@ -9,7 +9,7 @@
for profile in $profiles ; do
missing_packages=""
for a in $(test -r profiles/$profile.packages && egrep -v ^# profiles/$profile.packages ); do
- test -z "$(find $MIRROR/pool/main/ -type f -name $a*.deb)" && missing_packages="$missing_packages $a"
+ test -z "$(find $MIRROR/pool/main/ -type f -name $a\_*.deb)" && missing_packages="$missing_packages $a"
done
if [ -n "$missing_packages" ]; then
echo "ERROR: Packages missing from profile $profile : $missing_packages"
@@ -17,7 +17,7 @@
fi
missing_downloads=""
for a in $(test -r profiles/$profile.downloads && egrep -v ^# profiles/$profile.downloads ); do
- test -z "$(find $MIRROR/pool/main/ -type f -name $a*.deb)" && missing_downloads="$missing_downloads $a"
+ test -z "$(find $MIRROR/pool/main/ -type f -name $a\_*.deb)" && missing_downloads="$missing_downloads $a"
done
if [ -n "$missing_downloads" ]; then
echo "WARNING: Extra packages missing from profile $profile : $missing_downloads"