ensure that printf dosent stuff

This commit is contained in:
fosslinux 2019-02-03 15:45:46 +11:00
parent a6ee47989c
commit 56e3c3ca01
1 changed files with 79 additions and 78 deletions

157
Makefile
View File

@ -347,83 +347,84 @@ update: bash-remove burrow-install byobu-install fontconfig-install fonts-instal
all: update
install:
printf "Please choose an install type:\\n"
printf " - install-all: install everything\\n"
printf " - install-base: just install base everyday use packages\\n"
printf " - install-home: install stuff that i use on\\n"
printf " home machines + base\\n"
printf " - install-pubnix: install stuff that i use on pubnixes + base\\n"
printf " - install-team: install stuff i specifically use on\\n"
printf " ~team + pubnix\\n"
printf " - install-weechat: install stuff needed for weechat + base\\n"
printf " - install-streaming: install stuff for streaming + base\\n
printf " (rarely used)\\n"
@printf "Please choose an install type:\\n"
@printf " - install-all: install everything\\n"
@printf " - install-base: just install base everyday use packages\\n"
@printf " - install-home: install stuff that i use on\\n"
@printf " home machines + base\\n"
@printf " - install-pubnix: install stuff that i use on pubnixes + base\\n"
@printf " - install-team: install stuff i specifically use on\\n"
@printf " ~team + pubnix\\n"
@printf " - install-weechat: install stuff needed for weechat + base\\n"
@printf " - install-streaming: install stuff for streaming + base\\n"
@printf " (rarely used)\\n"
help:
printf "==========================\\n"
printf "= GENERAL COMMANDS =\\n"
printf "==========================\\n"
printf "\\n"
printf "install: shows help for install types\\n"
printf "remove: removes dotfiles from system\\n"
printf "update: updates dotfiles (normally run after git pull\\n"
printf "all (plain make with no arguments): link to 'update'\\n"
printf "\\n"
printf "=======================\\n"
printf "= INSTALL TYPES =\\n"
printf "=======================\\n"
printf "\\n"
printf "Install types:\\n"
printf " - install-all: install everything\\n"
printf " - install-base: just install base everyday use packages\\n"
printf " - install-home: install stuff that i use on\\n"
printf " home machines + base\\n"
printf " - install-pubnix: install stuff that i use on pubnixes + base\\n"
printf " - install-team: install stuff i specifically use on\\n"
printf " ~team + pubnix\\n"
printf " - install-weechat: install stuff needed for weechat + base\\n"
printf " - install-streaming: install stuff for streaming + base\\n
printf " (rarely used)\\n"
printf "\\n"
printf "=============================\\n"
printf "= PER-PACKAGE TARGETS =\\n"
printf "=============================\\n"
printf "\\n"
printf "Each package has a per-package target for install, remove and\\n"
printf "update. These targets allow cherry-picking for adding and\\n"
printf "removing dotfiles. These are most useful when:\\n"
printf " install) adding a new package after install, however this can\\n"
printf " normally be done by running the same target you\\n"
printf " installed with if it was added to that target.\\n"
printf " remove) deciding a package is no longer needed. if a package\\n"
printf " is removed from its install target, re-running the\\n"
printf " install target with not remove it, this must be done\\n"
printf " manually.\\n"
printf " update) rarely used. normally only used if there is\\n"
printf " a conflict, or you get in a broken scenario.\\n"
printf " please note that this under the hood reinstalls the\\n"
printf " package, so you can use this to attempt to fix\\n"
printf " broken stuff.\\n"
printf "\\n"
printf "===================\\n"
printf "= LICENSING =\\n"
printf "===================\\n"
printf "Copyright (c) 2018 fosslinux\\n"
printf "\\n"
printf "Permission is hereby granted, free of charge, to any person obtaining a copy\\n"
printf "of this software and associated documentation files (the "Software"), to deal\\n"
printf "in the Software without restriction, including without limitation the rights\\n"
printf "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n"
printf "copies of the Software, and to permit persons to whom the Software is\\n"
printf "furnished to do so, subject to the following conditions:\\n"
printf "\\n"
printf "The above copyright notice and this permission notice shall be included in all\\n"
printf "copies or substantial portions of the Software.\\n"
printf "\\n"
printf "THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n"
printf "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n"
printf "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n"
printf "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n"
printf "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n"
printf "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n"
printf "SOFTWARE.\\n"
@printf "==========================\\n"
@printf "= GENERAL COMMANDS =\\n"
@printf "==========================\\n"
@printf "\\n"
@printf "install: shows help for install types\\n"
@printf "remove: removes dotfiles from system\\n"
@printf "update: updates dotfiles (normally run after git pull\\n"
@printf "all (plain make with no arguments): link to 'update'\\n"
@printf "\\n"
@printf "=======================\\n"
@printf "= INSTALL TYPES =\\n"
@printf "=======================\\n"
@printf "\\n"
@printf "Install types:\\n"
@printf " - install-all: install everything\\n"
@printf " - install-base: just install base everyday use packages\\n"
@printf " - install-home: install stuff that i use on\\n"
@printf " home machines + base\\n"
@printf " - install-pubnix: install stuff that i use on pubnixes + base\\n"
@printf " - install-team: install stuff i specifically use on\\n"
@printf " ~team + pubnix\\n"
@printf " - install-weechat: install stuff needed for weechat + base\\n"
@printf " - install-streaming: install stuff for streaming + base\\n"
@printf " (rarely used)\\n"
@printf "\\n"
@printf "=============================\\n"
@printf "= PER-PACKAGE TARGETS =\\n"
@printf "=============================\\n"
@printf "\\n"
@printf "Each package has a per-package target for install, remove and\\n"
@printf "update. These targets allow cherry-picking for adding and\\n"
@printf "removing dotfiles. These are most useful when:\\n"
@printf " install) adding a new package after install, however this can\\n"
@printf " normally be done by running the same target you\\n"
@printf " installed with if it was added to that target.\\n"
@printf " remove) deciding a package is no longer needed. if a package\\n"
@printf " is removed from its install target, re-running the\\n"
@printf " install target with not remove it, this must be done\\n"
@printf " manually.\\n"
@printf " update) rarely used. normally only used if there is\\n"
@printf " a conflict, or you get in a broken scenario.\\n"
@printf " please note that this under the hood reinstalls the\\n"
@printf " package, so you can use this to attempt to fix\\n"
@printf " broken stuff.\\n"
@printf "\\n"
@printf "===================\\n"
@printf "= LICENSING =\\n"
@printf "===================\\n"
@printf "\\n"
@printf "Copyright (c) 2018 fosslinux\\n"
@printf "\\n"
@printf "Permission is hereby granted, free of charge, to any person obtaining a copy\\n"
@printf "of this software and associated documentation files (the "Software"), to deal\\n"
@printf "in the Software without restriction, including without limitation the rights\\n"
@printf "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n"
@printf "copies of the Software, and to permit persons to whom the Software is\\n"
@printf "furnished to do so, subject to the following conditions:\\n"
@printf "\\n"
@printf "The above copyright notice and this permission notice shall be included in all\\n"
@printf "copies or substantial portions of the Software.\\n"
@printf "\\n"
@printf "THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n"
@printf "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n"
@printf "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n"
@printf "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n"
@printf "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n"
@printf "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\n"
@printf "SOFTWARE.\\n"