check depenencies only if enabled
This commit is contained in:
parent
e4a9af9cd0
commit
38745b9d44
@ -149,12 +149,13 @@ function main
|
|||||||
# prepare for execution
|
# prepare for execution
|
||||||
source "/etc/snap-pac-uki/config.fish"
|
source "/etc/snap-pac-uki/config.fish"
|
||||||
config
|
config
|
||||||
check_deps
|
|
||||||
|
|
||||||
if test "$CFG_ENABLED" != "yes"
|
if test "$CFG_ENABLED" != "yes"
|
||||||
echo "not enabled in config file" 1>&2
|
echo "not enabled in config file" 1>&2
|
||||||
exit 0
|
exit 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
check_deps
|
||||||
|
|
||||||
switch $argv[1]
|
switch $argv[1]
|
||||||
case "snapshots"
|
case "snapshots"
|
||||||
|
Loading…
Reference in New Issue
Block a user