Skip to content

Commit 1a4f4a6

Browse files
authored
Update install.sh
1 parent 80a34ba commit 1a4f4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ echo $MENU_VERSION > /etc/nsk/version
5858

5959
cp $temp_dir/*/nsk.sh /usr/bin/nsk
6060
chmod u+x /usr/bin/nsk
61-
ln -s /usr/bin/nsk /usr/bin/n
61+
[ -f "/usr/bin/n" ] || ln -s /usr/bin/nsk /usr/bin/n
6262

6363
echo 'nsk and n command is available'

0 commit comments

Comments
 (0)