Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #-------------------------------------------------------------------------------
- #Tux Hat Linux Installer Script
- #Developer: Gary Perreault
- #-------------------------------------------------------------------------------
- #Global Settings
- COMPTON="yaourt -S --noconfirm compton"
- #Varibles to Ensure Configured Usually set to Not Configured until
- #task is done.
- TASK1="[ ] Not Set"
- TASK2="[ ] Not Set"
- # External Function Files that is required
- if [[ -f `pwd`/gfuncs.sh ]]; then
- source gfuncs.sh
- else
- echo "Error missing file: gfuncs.sh - Required for installer"
- exit 1
- fi
- if [[ -f `pwd`/diskfuncs.sh ]]; then
- source diskfuncs.sh
- else
- echo "Error missing file: diskfuncs.sh - Required for installer"
- exit 1
- fi
- prepmenu() {
- print_title5
- echo ""
- echo "${Bold}${White}${Underline}Tux Hat Linux Compton Setup${Reset}"
- echo ""
- echo "${Bold}${White} 1. Install Compton Composite $TASK1"
- echo "${Bold}${White} Q. Quit "
- print_askopt
- read mnuopt
- case $mnuopt in
- 1)
- $COMPTON
- TASK1="${Bold}${White}[${Bold}${Green}X${Bold}${White}] is Set"
- pause_function
- prepmenu
- ;;
- q)
- echo ""
- echo "${Purple}Now ${Cyan}the ${Blue}Compton ${White}Composite ${Yellow}is ${Green}Ready!${Reset}"
- echo ""
- esac
- }
- prepmenu
Advertisement
Add Comment
Please, Sign In to add comment