diff --git a/src/snap-pac-uki.fish b/src/snap-pac-uki.fish index a78fc7f..26c4f6c 100755 --- a/src/snap-pac-uki.fish +++ b/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"