diff --git a/debtap b/debtap index d384967..81bf4c0 100755 --- a/debtap +++ b/debtap @@ -130,7 +130,7 @@ elif [[ $(file -S -b "${@: -1}" | grep -q "Debian binary package"; echo $?) != 0 echo -e "${red}Error: You haven't specified a valid deb package${NC}"; exit 1 fi -if [[ ! $(ls /var/cache/pkgfile/*.files 2> /dev/null) ]] || [[ ! $(ls /var/cache/debtap/*-packages-files 2> /dev/null) ]] || [[ ! -e /var/cache/debtap/base-packages ]] || [[ ! -e /var/cache/debtap/aur-packages ]] || [[ ! -e /var/cache/debtap/virtual-packages ]]; then +if [[ ! $(ls /var/cache/pkgfile/*.files.* 2> /dev/null) ]] || [[ ! $(ls /var/cache/debtap/*-packages-files 2> /dev/null) ]] || [[ ! -e /var/cache/debtap/base-packages ]] || [[ ! -e /var/cache/debtap/aur-packages ]] || [[ ! -e /var/cache/debtap/virtual-packages ]]; then # This should fix it. Patch by SnivySquid65! if [[ $pseudo != set ]]; then while true; do