Hi, Oops, I did not catch them all in my first patch. Please consider the attached diff in addition to the first.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
GPG: 0x634F9A20
diff -urNad di-netboot-assistant-0.36.orig/usr/bin/di-netboot-assistant
di-netboot-assistant-0.36/usr/bin/di-netboot-assistant
--- di-netboot-assistant-0.36.orig/usr/bin/di-netboot-assistant 2008-08-02
19:36:42.000000000 +0100
+++ di-netboot-assistant-0.36/usr/bin/di-netboot-assistant 2008-08-02
19:37:34.000000000 +0100
@@ -90,7 +90,7 @@
}
list_declared_arch_for_repo() {
- echo -n "I: Declared architecures for $1 are: " 1>&2
+ echo -n "I: Declared architecures for $1 are: "
grep -E "^$1[[:blank:]]" "$DISOURCELIST" | cut -f 2 | sort -u | tr '\n'
' ' 1>&2
echo "" 1>&2
}
@@ -316,7 +316,7 @@
csum="${DL_CACHE}/$(echo ${repo_loc}/MD5SUMS.tmp | sed -e 's#/#_#g')"
if [ -f "$csum" -a "$SUCCEED" = "true" ] ; then
- echo -n "I: Computing checksums... " 1>&2
+ echo -n "I: Computing checksums... "
for givenfile in $EXTRA_DL_FILES $files ; do
f=$(echo $givenfile | sed -e 's#^\./##' -e 's#^/##' -e
's#//#/#g')
file="${DL_CACHE}/$(echo ${repo_loc}/$f | sed -e
's#/#_#g')"
@@ -324,9 +324,9 @@
if [ "$givenfile" == "MD5SUMS" ]; then
continue;
fi
- echo -n "$givenfile " 1>&2
+ echo -n "$givenfile "
if ! grep -qiE
"[[:blank:]]+(\./|)$givenfile[[:blank:]]*$" $csum ; then
- echo -n " (No checksum)" 1>&2
+ echo -n " (No checksum)"
continue;
fi
if ! grep -qiE
"^$md5[[:blank:]]+(\./|)$givenfile[[:blank:]]*$" $csum ; then
signature.asc
Description: PGP signature

