Skip to content

Commit

Permalink
fix filelistftr()
Browse files Browse the repository at this point in the history
apparently i messed up somewhere while implementing this. this is a simple fix.
  • Loading branch information
foxsouns authored Oct 22, 2021
1 parent 57710f0 commit fc9c94a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cpm
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit fc9c94a

Please sign in to comment.