From fc9c94aacca05d98c0d4edcadc7fa5569cfe9d2b Mon Sep 17 00:00:00 2001 From: Sage Date: Fri, 22 Oct 2021 08:11:38 -0700 Subject: [PATCH] fix filelistftr() apparently i messed up somewhere while implementing this. this is a simple fix. --- cpm | 3 --- 1 file changed, 3 deletions(-) diff --git a/cpm b/cpm index 5779b9a..21f09dc 100755 --- a/cpm +++ b/cpm @@ -182,12 +182,9 @@ filelistftr() { [ "$line" = "$str" ] && found=1 [ "$found" ] && printf "%s\n" "$line" done <"$pkginfo" - elif [ -d $2 ]; then - pem "Not in $2, check input or try updating." elif [ -d "$dir" ]; then pem "Not in $dir, check input or try updating." else - pem "$2 does not exist, are you using the right PM?" pem "$dir does not exist, are you using the right PM?" fi }