We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 04afadc + 16546b7 commit d7b6838Copy full SHA for d7b6838
dev/unix/install.sh.in
@@ -78,8 +78,9 @@ notion_create_binaries() {
78
notion_unpack_launchbin > "${INSTALL_DIR}"/launchbin
79
notion_unpack_bash_launcher > "${INSTALL_DIR}"/load.sh
80
81
- ln -s "${INSTALL_DIR}"/launchscript "${INSTALL_DIR}"/bin/npm
82
- ln -s "${INSTALL_DIR}"/launchscript "${INSTALL_DIR}"/bin/npx
+ # using -f so that there is no error if the target already exists (for reinstall)
+ ln -sf "${INSTALL_DIR}"/launchscript "${INSTALL_DIR}"/bin/npm
83
+ ln -sf "${INSTALL_DIR}"/launchscript "${INSTALL_DIR}"/bin/npx
84
85
chmod 755 "${INSTALL_DIR}/"/notion "${INSTALL_DIR}/bin"/* "${INSTALL_DIR}"/launch*
86
}
0 commit comments