check depenencies only if enabled

main v3.5
Adrian Wannenmacher 12 months ago
parent e4a9af9cd0
commit 38745b9d44
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5
  1. 3
      src/snap-pac-uki.fish

@ -149,12 +149,13 @@ function main
# prepare for execution
source "/etc/snap-pac-uki/config.fish"
config
check_deps
if test "$CFG_ENABLED" != "yes"
echo "not enabled in config file" 1>&2
exit 0
end
check_deps
switch $argv[1]
case "snapshots"

Loading…
Cancel
Save