Rename functions to script-functions for easier deploy
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
prompt() { read -pr "Enter $1: " "$1"; }
|
||||
|
||||
askOk() {
|
||||
ask_ok() {
|
||||
declare response
|
||||
(( YES_SWITCH )) && return 0
|
||||
read -r -p "$* [y/N]: " response
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ unset user password
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
parent="${BASH_SOURCE[0]}"
|
||||
parent=${parent%/*}
|
||||
|
||||
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
|
||||
[[ -f "$parent"/script-functions ]] && . "$parent"/script-functions || exit 1
|
||||
|
||||
is_root
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../smart-tests
|
||||
Reference in New Issue
Block a user