We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d947c54 commit 42dab3cCopy full SHA for 42dab3c
1 file changed
{{ cookiecutter.format }}/installer/scripts/postinstall
@@ -1,6 +1,11 @@
1
#!/bin/sh
2
echo "Post installation process started"
3
4
+if [ ! -d "/usr/local/bin" ]; then
5
+ echo "Creating /usr/local/bin directory"
6
+ mkdir -p /usr/local/bin
7
+fi
8
+
9
echo "Install binary symlink"
10
ln -si "/Library/{{ cookiecutter.formal_name }}/{{ cookiecutter.formal_name }}.app/Contents/MacOS/{{ cookiecutter.formal_name }}" /usr/local/bin/{{ cookiecutter.app_name }}
11
0 commit comments