Skip to content

Commit

Permalink
doc: Increase Nsolid visibility
Browse files Browse the repository at this point in the history
Signed-off-by: Jefferson <[email protected]>
  • Loading branch information
Jefferson authored and riosje committed Jul 11, 2024
1 parent 6907b1f commit 3e03a79
Show file tree
Hide file tree
Showing 14 changed files with 84 additions and 21 deletions.
5 changes: 4 additions & 1 deletion scripts/deb/script_generator/base_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 90,10 @@ configure_repo() {
if ! apt-get update -y; then
handle_error "$?" "Failed to run 'apt-get update'"
else
log "Repository configured successfully. To install Node.js, run: apt-get install nodejs -y" "success"
log "Repository configured successfully."
log "To install Node.js, run: apt-get install nodejs -y" "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: apt-get install nsolid -y \n" "success"
fi
}

Expand Down
5 changes: 4 additions & 1 deletion scripts/deb/setup_18.x
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 90,10 @@ configure_repo() {
if ! apt-get update -y; then
handle_error "$?" "Failed to run 'apt-get update'"
else
log "Repository configured successfully. To install Node.js, run: apt-get install nodejs -y" "success"
log "Repository configured successfully."
log "To install Node.js, run: apt-get install nodejs -y" "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: apt-get install nsolid -y \n" "success"
fi
}

Expand Down
5 changes: 4 additions & 1 deletion scripts/deb/setup_20.x
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 90,10 @@ configure_repo() {
if ! apt-get update -y; then
handle_error "$?" "Failed to run 'apt-get update'"
else
log "Repository configured successfully. To install Node.js, run: apt-get install nodejs -y" "success"
log "Repository configured successfully."
log "To install Node.js, run: apt-get install nodejs -y" "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: apt-get install nsolid -y \n" "success"
fi
}

Expand Down
5 changes: 4 additions & 1 deletion scripts/deb/setup_21.x
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 90,10 @@ configure_repo() {
if ! apt-get update -y; then
handle_error "$?" "Failed to run 'apt-get update'"
else
log "Repository configured successfully. To install Node.js, run: apt-get install nodejs -y" "success"
log "Repository configured successfully."
log "To install Node.js, run: apt-get install nodejs -y" "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: apt-get install nsolid -y \n" "success"
fi
}

Expand Down
5 changes: 4 additions & 1 deletion scripts/deb/setup_22.x
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 90,10 @@ configure_repo() {
if ! apt-get update -y; then
handle_error "$?" "Failed to run 'apt-get update'"
else
log "Repository configured successfully. To install Node.js, run: apt-get install nodejs -y" "success"
log "Repository configured successfully."
log "To install Node.js, run: apt-get install nodejs -y" "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: apt-get install nsolid -y \n" "success"
fi
}

Expand Down
5 changes: 4 additions & 1 deletion scripts/deb/setup_current.x
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 90,10 @@ configure_repo() {
if ! apt-get update -y; then
handle_error "$?" "Failed to run 'apt-get update'"
else
log "Repository configured successfully. To install Node.js, run: apt-get install nodejs -y" "success"
log "Repository configured successfully."
log "To install Node.js, run: apt-get install nodejs -y" "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: apt-get install nsolid -y \n" "success"
fi
}

Expand Down
5 changes: 4 additions & 1 deletion scripts/deb/setup_lts.x
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 90,10 @@ configure_repo() {
if ! apt-get update -y; then
handle_error "$?" "Failed to run 'apt-get update'"
else
log "Repository configured successfully. To install Node.js, run: apt-get install nodejs -y" "success"
log "Repository configured successfully."
log "To install Node.js, run: apt-get install nodejs -y" "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: apt-get install nsolid -y \n" "success"
fi
}

Expand Down
10 changes: 8 additions & 2 deletions scripts/rpm/script_generator/base_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 86,18 @@ fi
if command_exists dnf; then
log "dnf available, updating..." "info"
dnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'dnf install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'dnf install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: dnf install nsolid -y\n" "success"
exit 0
elif command_exists yum; then
log "yum available, updating..." "info"
yum makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'yum install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'yum install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "Run 'yum install nsolid -y' to complete the installation." "success"
elif command_exists microdnf; then
log "microdnf available, updating..." "info"
microdnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
Expand Down
10 changes: 8 additions & 2 deletions scripts/rpm/setup_18.x
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 86,18 @@ fi
if command_exists dnf; then
log "dnf available, updating..." "info"
dnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'dnf install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'dnf install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: dnf install nsolid -y\n" "success"
exit 0
elif command_exists yum; then
log "yum available, updating..." "info"
yum makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'yum install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'yum install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "Run 'yum install nsolid -y' to complete the installation." "success"
elif command_exists microdnf; then
log "microdnf available, updating..." "info"
microdnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
Expand Down
10 changes: 8 additions & 2 deletions scripts/rpm/setup_20.x
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 86,18 @@ fi
if command_exists dnf; then
log "dnf available, updating..." "info"
dnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'dnf install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'dnf install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: dnf install nsolid -y\n" "success"
exit 0
elif command_exists yum; then
log "yum available, updating..." "info"
yum makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'yum install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'yum install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "Run 'yum install nsolid -y' to complete the installation." "success"
elif command_exists microdnf; then
log "microdnf available, updating..." "info"
microdnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
Expand Down
10 changes: 8 additions & 2 deletions scripts/rpm/setup_21.x
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 86,18 @@ fi
if command_exists dnf; then
log "dnf available, updating..." "info"
dnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'dnf install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'dnf install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: dnf install nsolid -y\n" "success"
exit 0
elif command_exists yum; then
log "yum available, updating..." "info"
yum makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'yum install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'yum install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "Run 'yum install nsolid -y' to complete the installation." "success"
elif command_exists microdnf; then
log "microdnf available, updating..." "info"
microdnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
Expand Down
10 changes: 8 additions & 2 deletions scripts/rpm/setup_22.x
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 86,18 @@ fi
if command_exists dnf; then
log "dnf available, updating..." "info"
dnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'dnf install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'dnf install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: dnf install nsolid -y\n" "success"
exit 0
elif command_exists yum; then
log "yum available, updating..." "info"
yum makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'yum install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'yum install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "Run 'yum install nsolid -y' to complete the installation." "success"
elif command_exists microdnf; then
log "microdnf available, updating..." "info"
microdnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
Expand Down
10 changes: 8 additions & 2 deletions scripts/rpm/setup_current.x
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 86,18 @@ fi
if command_exists dnf; then
log "dnf available, updating..." "info"
dnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'dnf install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'dnf install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: dnf install nsolid -y\n" "success"
exit 0
elif command_exists yum; then
log "yum available, updating..." "info"
yum makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'yum install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'yum install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "Run 'yum install nsolid -y' to complete the installation." "success"
elif command_exists microdnf; then
log "microdnf available, updating..." "info"
microdnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
Expand Down
10 changes: 8 additions & 2 deletions scripts/rpm/setup_lts.x
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 86,18 @@ fi
if command_exists dnf; then
log "dnf available, updating..." "info"
dnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'dnf install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'dnf install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "To install N|solid, run: dnf install nsolid -y\n" "success"
exit 0
elif command_exists yum; then
log "yum available, updating..." "info"
yum makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
log "Repository is configured and updated. Run 'yum install nodejs -y' to complete the installation." "info"
log "Repository is configured and updated." "info"
log "Run 'yum install nodejs -y' to complete the installation." "info"
log "You can use N|solid as a node.js alternative" "info"
log "Run 'yum install nsolid -y' to complete the installation." "success"
elif command_exists microdnf; then
log "microdnf available, updating..." "info"
microdnf makecache --disablerepo="*" --enablerepo="nodesource-nodejs" --enablerepo="nodesource-nsolid"
Expand Down

0 comments on commit 3e03a79

Please sign in to comment.