From 7d13e3d63a3770c4ec97ff36e590a727eec61fed Mon Sep 17 00:00:00 2001 From: Uriah Date: Tue, 19 Dec 2023 01:03:55 +0800 Subject: [PATCH] provision script to use snip instead of snipr --- scripts/postinstall | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/postinstall b/scripts/postinstall index 2e096b9..75c1dec 100755 --- a/scripts/postinstall +++ b/scripts/postinstall @@ -8,14 +8,14 @@ USER_HOME=$(eval echo ~$REAL_USER) # Check if the ~/.local/bin directory exists, if not, create it if [ ! -d "$USER_HOME/.local/bin" ]; then - mkdir -p "$USER_HOME/.local/bin" + mkdir -p "$USER_HOME/.local/bin" fi # delete the old symlink if it exists if [ -L "$USER_HOME/.local/bin/snip" ]; then - rm "$USER_HOME/.local/bin/snip" + rm "$USER_HOME/.local/bin/snip" fi - # Create the symlink in ~/.local/bin -ln -s "/Applications/snip.app/Contents/MacOS/snip" "$USER_HOME/.local/bin/snip" \ No newline at end of file +ln -s "/Applications/snipr.app/Contents/MacOS/snipr" "$USER_HOME/.local/bin/snip" +