File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 99
1010# This folder is on PATH and does not require sudo
1111# Download latest plantuml.jar from github
12- curl -o ${CONDA_PREFIX} /bin/plantuml.jar -L https://github.com/plantuml/plantuml/releases/latest/download/plantuml.jar
12+ mkdir -p " ${HOME} /.local/bin"
13+ curl -o " ${HOME} /.local/bin/plantuml.jar" -L https://github.com/plantuml/plantuml/releases/latest/download/plantuml.jar
1314# Create an executable script for plantuml
14- printf ' #!/bin/bash\nexec java -Djava.awt.headless=true -jar ${CONDA_PREFIX}/ bin/plantuml.jar "$@"' > ${CONDA_PREFIX} / bin/plantuml
15- chmod +x ${CONDA_PREFIX} / bin/plantuml
15+ printf ' #!/bin/bash\nexec java -Djava.awt.headless=true -jar "${HOME}/.local/ bin/plantuml.jar" "$@"\n ' > " ${HOME} /.local/ bin/plantuml"
16+ chmod +x " ${HOME} /.local/ bin/plantuml"
1617
1718# Check plantuml version
1819plantuml -version
You can’t perform that action at this time.
0 commit comments