General Improvements (#36)
* Add at and reword comment. * Add cronie, thought this was already done but last pull request got wonky. * Zypper is not happy about asking Brave repo to be added multiple times. * Replace deprecated `include` commands. * Add gcc. * Add another cc command for openSUSE. * include_tasks is not supporting ignore_errors like include used to, move to individual tasks. * Do a better job of removing libreoffice from local package manager. * Enhance reports. * Add basic VIM setup. * Undo some lynis changes, fix folder permissions so users can view. * Change lynis back to chdir and local execution. * Add doas. * Add check against old usage of setup.sh BRANCH. * Greatly reduce number of tasks, create temp file while building report. * Create temp file while building report.
This commit is contained in:
6
setup.sh
6
setup.sh
@ -53,9 +53,15 @@ while getopts ":lb:h" arg; do
|
||||
done
|
||||
|
||||
if [[ $branch == "" ]]; then
|
||||
echo "Using default branch $BRANCH."
|
||||
branch="$BRANCH"
|
||||
fi
|
||||
|
||||
if [[ $1 != "-"* ]]; then
|
||||
echo "ERROR: '$1' is not a valid option, please check your parameters and try again."
|
||||
usage 1
|
||||
fi
|
||||
|
||||
## Main ##
|
||||
|
||||
os="$(cat /etc/os-release)"
|
||||
|
Reference in New Issue
Block a user