From c4d400d058136a9045857b99d816595e7a655125 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 2 Jul 2021 03:02:09 +0000 Subject: CTAN sync 202107020302 --- support/optexcount/install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 support/optexcount/install.sh (limited to 'support/optexcount/install.sh') diff --git a/support/optexcount/install.sh b/support/optexcount/install.sh new file mode 100755 index 0000000000..1e5f15507f --- /dev/null +++ b/support/optexcount/install.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +set -e +cp src/optexcount.py src/__main__.py +zip -j optexcount.zip src/*.py 1> /dev/null +echo '#!/usr/bin/env python3' | cat - optexcount.zip > optexcount +chmod +x optexcount +rm optexcount.zip src/__main__.py +mv optexcount /usr/bin/optexcount +echo 'OpTeXcount successfully installed!' \ No newline at end of file -- cgit v1.2.3