A Bash utility for installing various programs. Feel free to clone and customize or copy to get ideas of your own.
There are probably better approaches to installer scripts such as provisions but sometimes those are a bit tedious. It's also a bit fun to use pure bash
to write something custom.
This is a brief explanation of the file setup if you choose to clone or get ideas for your own utility script.
HELPFUL: Think of the
./bin
scripts as containers to customize your preferred way of installing a package or category of pacakges.
- File Structure
./installable.sh
- Entrypoint; Lists all installable items which are only defined in this file.- Above triggers a file in
./bin/*.sh
, it will firstsource _export.sh
for color variables and log functions for the installer output. - Next, the respective file, optionally with an
$1
argument is loaded into a./bin/<file-here>.sh
to execute the installer.
- Above triggers a file in
It should be pretty simple!
MIT Open Source
© 2014 JREAM