Add debug
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
#
|
||||
# See README.md and ./profiles
|
||||
#
|
||||
# This will install a lot of system dependencies by default, so I recommend to
|
||||
# run it in `toolbox`
|
||||
#
|
||||
|
||||
# Set default release
|
||||
: "${RELEASE:="22.03.3"}"
|
||||
@@ -29,7 +32,7 @@ printHelp() {
|
||||
--source
|
||||
Build image from source, not from Image Builder
|
||||
--ssh-upgrade HOST
|
||||
Example: root@192.168.1.1
|
||||
Examples: root@192.168.1.1, root@router.lan
|
||||
--ssh-backup SSH_PATH
|
||||
Enabled by default for --ssh-upgrade
|
||||
--flash,-f DEVICE
|
||||
@@ -297,6 +300,10 @@ installDependencies() {
|
||||
"zlib"
|
||||
)
|
||||
;;
|
||||
*)
|
||||
debug "Skipping dependency install, your OS is unsupported"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
else
|
||||
# For Imagebuilder
|
||||
@@ -335,6 +342,10 @@ installDependencies() {
|
||||
"axel"
|
||||
)
|
||||
;;
|
||||
*)
|
||||
debug "Skipping dependency install, your OS is unsupported"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user