-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a few minor improvements to install script (#194)
* Echo when auto updates not enabled. It was confusing to echo the header for enabling automatic updates and then do/print nothing. * Log that we are running git pull. This is helpful for anyone who has an ssh-agent that requires PIN / touch confirmation, to know that the script is blocked on git pull. * Remove deprecated docker-compose version field. This silences this warning: docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion * Fix unescaped \ in ascii art. * Rename run() to logrun().
- Loading branch information
Showing
4 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
version: '3' | ||
|
||
services: | ||
sublime_mantis: | ||
image: sublimesec/mantis:1.57 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,8 @@ print_info() { | |
print_warning() { | ||
print_color "\n$1\n" "warning" | ||
} | ||
|
||
logrun() { | ||
echo >&2 "+ $*" | ||
"$@" | ||
} |