mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
21 lines
294 B
Bash
Executable File
21 lines
294 B
Bash
Executable File
#!/run/current-system/sw/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 ']'
|