diff --git a/scripts/deb/script_generator/base_script.sh b/scripts/deb/script_generator/base_script.sh index e0aafdbf..a6544456 100644 --- a/scripts/deb/script_generator/base_script.sh +++ b/scripts/deb/script_generator/base_script.sh @@ -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 } diff --git a/scripts/deb/setup_18.x b/scripts/deb/setup_18.x index 15b2d25e..0a1387a8 100755 --- a/scripts/deb/setup_18.x +++ b/scripts/deb/setup_18.x @@ -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 } diff --git a/scripts/deb/setup_20.x b/scripts/deb/setup_20.x index 61ed44e4..3028c30e 100755 --- a/scripts/deb/setup_20.x +++ b/scripts/deb/setup_20.x @@ -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 } diff --git a/scripts/deb/setup_21.x b/scripts/deb/setup_21.x index ea2b546d..e797ee66 100755 --- a/scripts/deb/setup_21.x +++ b/scripts/deb/setup_21.x @@ -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 } diff --git a/scripts/deb/setup_22.x b/scripts/deb/setup_22.x index 2c534256..dbcc374a 100755 --- a/scripts/deb/setup_22.x +++ b/scripts/deb/setup_22.x @@ -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 } diff --git a/scripts/deb/setup_current.x b/scripts/deb/setup_current.x index 2c534256..dbcc374a 100755 --- a/scripts/deb/setup_current.x +++ b/scripts/deb/setup_current.x @@ -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 } diff --git a/scripts/deb/setup_lts.x b/scripts/deb/setup_lts.x index 61ed44e4..3028c30e 100755 --- a/scripts/deb/setup_lts.x +++ b/scripts/deb/setup_lts.x @@ -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 } diff --git a/scripts/rpm/script_generator/base_script.sh b/scripts/rpm/script_generator/base_script.sh index c30017c9..8a2c2956 100644 --- a/scripts/rpm/script_generator/base_script.sh +++ b/scripts/rpm/script_generator/base_script.sh @@ -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" diff --git a/scripts/rpm/setup_18.x b/scripts/rpm/setup_18.x index 0482ec6a..6aed0d07 100755 --- a/scripts/rpm/setup_18.x +++ b/scripts/rpm/setup_18.x @@ -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" diff --git a/scripts/rpm/setup_20.x b/scripts/rpm/setup_20.x index ba12a3c5..68f2f12e 100755 --- a/scripts/rpm/setup_20.x +++ b/scripts/rpm/setup_20.x @@ -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" diff --git a/scripts/rpm/setup_21.x b/scripts/rpm/setup_21.x index 85b2ec2d..c9181dac 100755 --- a/scripts/rpm/setup_21.x +++ b/scripts/rpm/setup_21.x @@ -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" diff --git a/scripts/rpm/setup_22.x b/scripts/rpm/setup_22.x index 90531b9f..165ec895 100755 --- a/scripts/rpm/setup_22.x +++ b/scripts/rpm/setup_22.x @@ -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" diff --git a/scripts/rpm/setup_current.x b/scripts/rpm/setup_current.x index 90531b9f..165ec895 100755 --- a/scripts/rpm/setup_current.x +++ b/scripts/rpm/setup_current.x @@ -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" diff --git a/scripts/rpm/setup_lts.x b/scripts/rpm/setup_lts.x index ba12a3c5..68f2f12e 100755 --- a/scripts/rpm/setup_lts.x +++ b/scripts/rpm/setup_lts.x @@ -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"