list-collections 265 B

1234567
  1. #!/bin/bash
  2. collections=`grep "name collection-" /usr/share/tlpkg/texlive.tlpdb | sed -e 's|name collection-||g;/texworks/d;/wintools/d' | tr "\n" " "`
  3. sed '/_collections=/d' -i PKGBUILD
  4. sed "/generate\ collections/a _collections=( ${collections})" -i "PKGBUILD"