summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2017-07-14 11:45:04 +0900
committerNorbert Preining <norbert@preining.info>2017-07-14 11:45:04 +0900
commitf75922737d0347578ff07b2e1728ddb13cf8ac79 (patch)
tree25be4b517a0ad05fe78bc9076c208387120538b6 /update.sh
parent3fa11a71d58c4dd6e2d7d46970683e3e8202aa16 (diff)
update collection-contrib
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh29
1 files changed, 25 insertions, 4 deletions
diff --git a/update.sh b/update.sh
index 01e564f2..879d2995 100755
--- a/update.sh
+++ b/update.sh
@@ -18,15 +18,36 @@ TLCATALOGUE=${TLCATALOGUE:-/home/norbert/Development/TeX/texcatalogue-svn}
# we don't do TeX Catalogue updates
#unset TEX_CATALOGUE
+do_tlpdb=false
+do_container=false
+do_collection=false
if [ "$1" = "container" ] ; then
do_container=true
- do_tlpdb=false
-fi
-if [ "$1" = "tlpdb" ] ; then
+elif [ "$1" = "tlpdb" ] ; then
+ do_tlpdb=true
+elif [ "$1" = "collection" ] ; then
+ do_collection=true
+else
do_tlpdb=true
- do_container=false
+ do_container=true
+ do_collection=true
fi
+
+col=tlpkg/tlpsrc/collection-contrib.tlpsrc
+echo "category Collection" > $col
+echo "shortdesc tlcontrib packages" >> $col
+echo "longdesc collections of all packages in contrib.texlive.info" >> $col
+for i in `ls tlpkg/tlpsrc/*.tlpsrc | sort` ; do
+ bn=`basename $i .tlpsrc`
+ if [ "$bn" = "00texlive.autopatterns" -o "$bn" = "00texlive.config" -o "$bn" = 00texlive.installation \
+ -o "$bn" = collection-contrib ] ; then
+ continue
+ fi
+ echo "depend $bn" >> $col
+done
+
+
if $do_tlpdb ; then
# update tlpdb
$TLCHECKOUT/Master/tlpkg/bin/tl-update-tlpdb \