mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-17 23:03:47 +01:00
allow using parts of dehydrated without running the main script (intended for testing parts of the script)
This commit is contained in:
10
dehydrated
10
dehydrated
@@ -1318,8 +1318,10 @@ main() {
|
||||
# Determine OS type
|
||||
OSTYPE="$(uname)"
|
||||
|
||||
# Check for missing dependencies
|
||||
check_dependencies
|
||||
if [[ ! "${DEHYDRATED_NOOP:-}" = "NOOP" ]]; then
|
||||
# Check for missing dependencies
|
||||
check_dependencies
|
||||
|
||||
# Run script
|
||||
main "${@:-}"
|
||||
# Run script
|
||||
main "${@:-}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user