fix minor bugs in linux install
This commit is contained in:
1 parent
ea2012d8a1
commit
cbe1337063
3 files changed
+3
-3
No files matched your search
@@ -238,7 +238,7 @@ if [ "$CREATE_SYMLINKS" = true ]; then
|
||||
|
||||
# Create symlink
|
||||
ln -sf "$SDK_INSTALL_DIR/$SDK_VERSION/bin/$CMD_NAME" "$BIN_INSTALL_DIR/$CMD_NAME"
|
||||
((SYMLINK_COUNT++))
|
||||
SYMLINK_COUNT=$((SYMLINK_COUNT + 1))
|
||||
fi
|
||||
done
|
||||
log_success "Created $SYMLINK_COUNT command symlinks in $BIN_INSTALL_DIR"
|
||||
|
||||
@@ -252,7 +252,7 @@ if [ "$CREATE_SYMLINKS" = true ]; then
|
||||
|
||||
# Create symlink
|
||||
ln -sf "$SDK_INSTALL_DIR/$SDK_VERSION/bin/$CMD_NAME" "$BIN_INSTALL_DIR/$CMD_NAME"
|
||||
((SYMLINK_COUNT++))
|
||||
SYMLINK_COUNT=$((SYMLINK_COUNT + 1))
|
||||
fi
|
||||
done
|
||||
log_success "Created $SYMLINK_COUNT command symlinks in $BIN_INSTALL_DIR"
|
||||
|
||||
@@ -215,7 +215,7 @@ echo ""
|
||||
|
||||
# Offer to create systemd service
|
||||
echo ""
|
||||
read -p "Would you like to create a systemd service for automatic startup? [y/N]: " create_service
|
||||
read -p "Would you like to create a systemd service for automatic startup? [Y/n]: " create_service
|
||||
if [[ ! $create_service =~ ^[Nn]$ ]]; then
|
||||
SERVICE_FILE="/etc/systemd/system/novacomd.service"
|
||||
|
||||
|
||||
Reference in new issue
Block a user