2013-09-01 00:57:33 +01:00
|
|
|
#!/run/current-system/sw/bin/bash
|
2012-01-25 19:12:27 +00:00
|
|
|
|
2012-03-12 20:15:08 +00:00
|
|
|
# Take the list of files from the main package, ooo.lst.in
|
2012-01-25 19:12:27 +00:00
|
|
|
|
2012-08-31 09:11:41 +01:00
|
|
|
cat <<EOF
|
|
|
|
[
|
|
|
|
EOF
|
2012-01-25 19:12:27 +00:00
|
|
|
|
2012-08-31 09:11:41 +01: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 19:12:27 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
echo ']'
|