1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/applications/office/libreoffice/generate-libreoffice-srcs.sh
2013-01-29 12:43:53 +01:00

21 lines
295 B
Bash

#!/var/run/current-system/bin/bash
# Take the list of files from the main package, ooo.lst.in
cat <<EOF
[
EOF
read file
while read file; do
if [[ "$file" == @* ]]; then
break
fi
echo '{'
echo " name = \"${file:33}\";"
echo " md5 = \"${file:0:32}\";"
echo '}'
done
echo ']'