From e3e9e92838a9ca7d38cde4afb139a76c28ef6256 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 14 Aug 2019 04:13:59 -0500 Subject: [PATCH] ptgdp: More dependency checks --- ptgdp | 1 + 1 file changed, 1 insertion(+) diff --git a/ptgdp b/ptgdp index 343f8df..6fa9a48 100755 --- a/ptgdp +++ b/ptgdp @@ -352,6 +352,7 @@ main() { ;; esac done + [ -z "$_optdownloadonly" ] && [ -z "$_optdryrun" ] && validatedeps mpc || error "$_return is required outside of dry- and download-only runs" [ -n "$_optfile" ] && [ -n "$_optrofi" ] && error "Flags -f and -r conflict" 2 [ -n "$_optdownloadonly" ] && [ -n "$_optautoplay" ] && error "Flags -d and -p conflict" 2 if [ -n "$_optrofi" ]; then rofimenu; exit $?; fi