[Debian-live-changes] r1215 - dists/trunk/live-helper/helpers
Daniel Baumann
daniel at alioth.debian.org
Tue May 1 18:38:43 UTC 2007
Author: daniel
Date: 2007-05-01 18:38:42 +0000 (Tue, 01 May 2007)
New Revision: 1215
Modified:
dists/trunk/live-helper/helpers/lh_binary_debian-installer
Log:
Modified: dists/trunk/live-helper/helpers/lh_binary_debian-installer
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_debian-installer 2007-05-01 15:20:22 UTC (rev 1214)
+++ dists/trunk/live-helper/helpers/lh_binary_debian-installer 2007-05-01 18:38:42 UTC (rev 1215)
@@ -139,8 +139,13 @@
then
for FILE in cache/packages_bootstrap/*.deb
do
- SOURCE="`dpkg -I ${FILE} | awk '/Source: / { print $2 }'`"
+ SOURCE="`dpkg -f ${FILE} Source`"
+ if [ -z "${SOURCE}" ]
+ then
+ SOURCE="`basename ${FILE} | awk -F_ '{ print $1 }'`"
+ fi
+
case "${SOURCE}" in
lib?*)
LETTER="`echo ${SOURCE} | sed 's/\(....\).*/\1/'`"
More information about the Debian-live-changes
mailing list