mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
CLI: enforce directory existence before linking on Linux (#3252)
Make `/usr/local/bin/` directory if not exists.
This commit is contained in:
parent
436c37e89e
commit
6a262d0212
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir -p /usr/local/bin
|
||||||
|
|
||||||
# Link to the CLI bootstrap
|
# Link to the CLI bootstrap
|
||||||
ln -sf '/opt/${productFilename}/resources/bin/${executable}' '/usr/local/bin/${executable}'
|
ln -sf '/opt/${productFilename}/resources/bin/${executable}' '/usr/local/bin/${executable}'
|
||||||
Loading…
Reference in a new issue