This commit is contained in:
Andrew Davidson 2020-02-26 12:27:53 -05:00
parent 03370431a4
commit d924ff85c6
Signed by: amd
GPG key ID: 17AF8F2A49CF25C6
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
print_ascii () {
print_logo () {
cat <<'EOF'
_ _ _
| |__ __ _ ___| | ___ _ _ __ ___| |__
@ -92,7 +92,7 @@ case $DESTINATION in
backup:/bkup/$(hostname)
;;
"help")
print_ascii
print_logo
print_help
;;
*)
@ -143,7 +143,7 @@ case $DESTINATION in
;;
"help")
print_ascii
print_logo
print_help
;;
*)
@ -154,7 +154,7 @@ case $DESTINATION in
;;
*)
if [[ -z $DESTINATION && $ACTION == "help" ]]; then
print_ascii
print_logo
print_help
else
echo "Destination: $DESTINATION not recognized."

View file

@ -1,7 +1,7 @@
```bash
#!/usr/bin/env bash
print_ascii () {
print_logo () {
cat <<'EOF'
_ _ _
| |__ __ _ ___| | ___ _ _ __ ___| |__