repositories
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b93080
)
tlmgr is now separate in itex repo
author
Mart Lubbers
<mart@martlubbers.net>
Mon, 25 Sep 2017 09:01:44 +0000
(11:01 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Mon, 25 Sep 2017 09:01:44 +0000
(11:01 +0200)
x/.local/bin/tlmgri
[deleted file]
patch
|
blob
|
history
diff --git
a/x/.local/bin/tlmgri
b/x/.local/bin/tlmgri
deleted file mode 100755
(executable)
index
64c3051
..0000000
--- a/
x/.local/bin/tlmgri
+++ /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