Skip to content

Commit 7d13e3d

Browse files
provision script to use snip instead of snipr
1 parent 3f0aef7 commit 7d13e3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/postinstall

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ USER_HOME=$(eval echo ~$REAL_USER)
88

99
# Check if the ~/.local/bin directory exists, if not, create it
1010
if [ ! -d "$USER_HOME/.local/bin" ]; then
11-
mkdir -p "$USER_HOME/.local/bin"
11+
mkdir -p "$USER_HOME/.local/bin"
1212
fi
1313

1414
# delete the old symlink if it exists
1515
if [ -L "$USER_HOME/.local/bin/snip" ]; then
16-
rm "$USER_HOME/.local/bin/snip"
16+
rm "$USER_HOME/.local/bin/snip"
1717
fi
1818

19-
2019
# Create the symlink in ~/.local/bin
21-
ln -s "/Applications/snip.app/Contents/MacOS/snip" "$USER_HOME/.local/bin/snip"
20+
ln -s "/Applications/snipr.app/Contents/MacOS/snipr" "$USER_HOME/.local/bin/snip"
21+

0 commit comments

Comments
 (0)