Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple installer script for a login banner #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

redhonu
Copy link

@redhonu redhonu commented Mar 27, 2024

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.

Installer for x86_64 linux
Add .x86_64 and aarch64 compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant