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 3f0aef7 commit 7d13e3dCopy full SHA for 7d13e3d
scripts/postinstall
@@ -8,14 +8,14 @@ USER_HOME=$(eval echo ~$REAL_USER)
8
9
# Check if the ~/.local/bin directory exists, if not, create it
10
if [ ! -d "$USER_HOME/.local/bin" ]; then
11
- mkdir -p "$USER_HOME/.local/bin"
+ mkdir -p "$USER_HOME/.local/bin"
12
fi
13
14
# delete the old symlink if it exists
15
if [ -L "$USER_HOME/.local/bin/snip" ]; then
16
- rm "$USER_HOME/.local/bin/snip"
+ rm "$USER_HOME/.local/bin/snip"
17
18
19
-
20
# Create the symlink in ~/.local/bin
21
-ln -s "/Applications/snip.app/Contents/MacOS/snip" "$USER_HOME/.local/bin/snip"
+ln -s "/Applications/snipr.app/Contents/MacOS/snipr" "$USER_HOME/.local/bin/snip"
+
0 commit comments