From 3081ebb477b426d37127aee65fbe5a4fa918a51a Mon Sep 17 00:00:00 2001 From: FSB -f Date: Sun, 19 Jul 2015 18:26:26 -0700 Subject: [PATCH] update branch test I...uh..done made a boo boo --- FAST.lib | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/FAST.lib b/FAST.lib index 5eee368..491baf5 100644 --- a/FAST.lib +++ b/FAST.lib @@ -1,32 +1,42 @@ #!/bin/bash # -############################################## FAST Library ############################################## +########################### FAST - Forest's Accessible Shell Toolkit ############################## # -# Purpose: A functional library for resolving dysfunctional systems +# Purpose: A menu driven Application Installer, System Tuner and Problem Solver. # License: MIT # Author: Forest Baker | forestsbaker | FSB -f +# Copyright 2015 Forest Baker +# # Version: 1.0 # Date: 06/23/15 -# Copyright 2015 Forest Baker # -############################################## FAST Library ############################################### +############################################## FAST ############################################### # ### # Check some dependencies first ### [ -f ./FAST*.* ] && clear || exit 1 -[ -f ./Library_Sections/FAST*.lib ] && "Checking Dependencies" || { echo "Missing Library Sections";exit 1; } -[ -f ./Library_Sections/FAST_Here_Documents.lib ] && echo || { echo "FAST Library Section - Here Documents - is missing";exit 1; } -[ -r ./Library_Sections/FAST_Here_Documents.lib ] && . ./Library_Sections/FAST_Here_Documents.lib || { echo "FAST Library Section - Here Documents - is unreadable";exit 1; } -[ -f ./Library_Sections/FAST_Text_Format.lib ] && echo || { echo "FAST Library Section - Text Formatting - is missing";exit 1; } -[ -r ./Library_Sections/FAST_Text_Format.lib ] && . ./Library_Sections/FAST_Text_Format.lib || { echo "FAST Library Section - Text Formatting - is unreadable";exit 1; } +#[ -f ./Library_Sections/FAST*.lib ] && "Checking Dependencies" || { echo "Missing Library Sections";exit 1; } +#[ -f ./Library_Sections/FAST_Here_Documents.lib ] && echo || { echo "FAST Library Section - Here Documents - is missing";exit 1; } +#[ -r ./Library_Sections/FAST_Here_Documents.lib ] && . ./Library_Sections/FAST_Here_Documents.lib || { echo "FAST Library Section - Here Documents - is unreadable";exit 1; } ### +# Create a Temporary Workshop # Create GLOBAL_VARIABLES +# Unpack the Library into the Workshop ### -# printf %s\n "Creating Global Variables ... " + +### + +### + +readonly WORKSHOP=$(mktemp -d $HOME/workshop.XXXXXX) +rm -f $WORKSHOP/* +tar -jf ./Tool.box + + printf %s\n "Creating Global Variables ... " readonly LIBRARY_NAME=$(basename $0) readonly LIBRARY_CWD=$(readlink -m $(dirname $0)) readonly LIBRARY_ARGS="$@"