Simple installer script for a login banner #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This pull request adds a script for easy installation of the figurine command-line tool on Linux systems. The script checks for root privileges and system architecture, then downloads the appropriate binary release from the GitHub repository based on the architecture (x86_64 or arm64). It installs the binary to /usr/local/bin and creates a script in /etc/profile.d to show a a banner at login with customizable text. Additionally, it provides an option to force download and installation using the -f flag if it is already installed in that location on the system.
Changes:
Added a script for automatic installation of the figurine command-line tool.
Checks for root privileges and system architecture (x86_64 or arm64).
Downloads the appropriate binary release from the GitHub repository based on the architecture.
Installs the binary to /usr/local/bin and creates a script in /etc/profile.d.
Provides an option to force download and installation using the -f flag.
Instructions:
Ensure you have root privileges or run the script with sudo.
Clone the repository and navigate to the directory.
Run the script figurine-loginbanner-installer.sh.
Follow the prompts to complete the installation.