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