2012-03-12 21:15:08 +01:00
|
|
|
#!/var/run/current-system/bin/bash
|
2012-01-25 20:12:27 +01:00
|
|
|
|
2012-03-12 21:15:08 +01:00
|
|
|
# Take the list of files from the main package, ooo.lst.in
|
2012-01-25 20:12:27 +01:00
|
|
|
|
2012-08-31 10:11:41 +02:00
|
|
|
cat <<EOF
|
|
|
|
[
|
|
|
|
EOF
|
2012-01-25 20:12:27 +01:00
|
|
|
|
2012-08-31 10:11:41 +02:00
|
|
|
read file
|
|
|
|
while read file; do
|
|
|
|
if [[ "$file" == @* ]]; then
|
|
|
|
break
|
|
|
|
fi
|
|
|
|
echo '{'
|
|
|
|
echo " name = \"${file:33}\";"
|
|
|
|
echo " md5 = \"${file:0:32}\";"
|
|
|
|
echo '}'
|
2012-01-25 20:12:27 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
echo ']'
|