mirror of
https://salsa.debian.org/images-team/debian-cd.git
synced 2024-11-24 15:19:51 -01:00
s/raw/iso/
This commit is contained in:
parent
3f2f6c11e3
commit
27f9fc5ef5
@ -6,7 +6,7 @@ cd $1
|
||||
|
||||
case $DOJIGDO in
|
||||
0)
|
||||
for file in `find * -name \*.raw`
|
||||
for file in `find * -name \*.iso`
|
||||
do
|
||||
md5sum $file >> MD5SUMS
|
||||
done
|
||||
@ -18,11 +18,11 @@ case $DOJIGDO in
|
||||
echo "Possibly invalid template $file"
|
||||
exit
|
||||
fi
|
||||
grep -q " ${file%%.template}.raw"'$$' MD5SUMS \
|
||||
grep -q " ${file%%.template}.iso"'$$' MD5SUMS \
|
||||
|| echo "`tail --bytes=26 "$file" | \
|
||||
head --bytes=16 | \
|
||||
od -tx1 -An | \
|
||||
sed -e 's/ //g'` ${file%%.template}.raw" >> MD5SUMS
|
||||
sed -e 's/ //g'` ${file%%.template}.iso" >> MD5SUMS
|
||||
done
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user