diff options
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100755 index 00000000..8592818b --- /dev/null +++ b/install.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +function exec() { + if $verbose; then + echo $@ + fi + $@ +} + +function sudoexec() { + if $verbose; then + echo Executing $@ as sudo... + fi + sudo $@ +} + +function have_command() { + echo -n Checking if you have command:\ + if command -v $1; then + return 0 + else + return 1 + fi +}
\ No newline at end of file |
