diff options
Diffstat (limited to 'support/optexcount/install.sh')
-rwxr-xr-x | support/optexcount/install.sh | 10 |
1 files changed, 10 insertions, 0 deletions
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 |