Defaulting to obsolete filenames for checksums on debian, as debians cdrom-check in d-i only supports legacy filenames (Closes: #697082).

This commit is contained in:
Daniel Baumann 2013-01-02 10:37:31 +01:00
parent 1dbd997d9d
commit dd2aed00d2
2 changed files with 18 additions and 2 deletions

View File

@ -43,7 +43,15 @@ Create_lockfile .lock
for CHECKSUM in ${LB_CHECKSUMS}
do
CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
case "${LB_MODE}" in
progress-linux)
CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
;;
*)
CHECKSUMS="${CHECKSUM}sums.txt"
;;
esac
Echo_message "Begin creating binary ${CHECKSUMS}..."

View File

@ -50,7 +50,15 @@ do
for CHECKSUM in ${LB_CHECKSUMS}
do
CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
case "${LB_MODE}" in
progress-linux)
CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
;;
*)
CHECKSUMS="${CHECKSUM}sums.txt"
;;
esac
Echo_message "Begin creating source ${CHECKSUMS}..."