tlmgr is now separate in itex repo
authorMart Lubbers <mart@martlubbers.net>
Mon, 25 Sep 2017 09:01:44 +0000 (11:01 +0200)
committerMart Lubbers <mart@martlubbers.net>
Mon, 25 Sep 2017 09:01:44 +0000 (11:01 +0200)
x/.local/bin/tlmgri [deleted file]

diff --git a/x/.local/bin/tlmgri b/x/.local/bin/tlmgri
deleted file mode 100755 (executable)
index 64c3051..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-if [ "$#" -ne 1 ]
-then
-       echo "Usage: $0 FILE"
-       exit 1
-fi
-
-PKGS="$(tlmgr search --global --file "/$1" 2>/dev/null | grep -Po "^.*(?=:$)")"
-if [[ -z "$PKGS" ]]; then exit 1; fi
-if [[ $(wc -w <<< "$PKGS") -eq 1 ]]
-then
-       tlmgr install "$PKGS"
-else
-       select package in $PKGS; do
-               INDEX=1
-               for p in $PKGS; do
-                       if [ $((INDEX++)) -eq $REPLY ]; then
-                               tlmgr install "$p"
-                       fi
-               done
-               break;
-       done
-fi