jptgdp: Remove straggler _optrofidir

This commit is contained in:
Salt 2019-06-14 06:17:14 -05:00
parent 0da3eb92b7
commit 4e520559e3

2
jptgdp
View File

@ -84,7 +84,7 @@ EOF
}
rofimenu() {
validatedeps rofi || error "$_return is not currently installed" 1
[ -d "$_optrofi" ] || error "Could not open directory \"$_optrofidir\"" 2
[ -d "$_optrofi" ] || error "Could not open directory \"$_optrofi\"" 2
files=$(find "$_optrofi" -type f -name \*.gdp)
if [ -n "$files" ]; then
# Strip file suffixes for a cleaner menu