fix: package dependencies without entries
This commit is contained in:
parent
4e3e43c089
commit
55dd652892
1 changed files with 3 additions and 2 deletions
5
instalee
5
instalee
|
@ -40,8 +40,9 @@ getentries() {
|
|||
installpkg() {
|
||||
test "$1" = "--quiet" && local quiet=true && shift
|
||||
local dir_package="$dir_packages/$1/"
|
||||
# prefer unsuffixed entries, i.e. sort by length
|
||||
test -d "$dir_package" && local package_available_entries="$(getentries "$1")"
|
||||
# TODO prefer unsuffixed entries, i.e. sort by length
|
||||
local package_available_entries=""
|
||||
test -d "$dir_package" && package_available_entries="$(getentries "$1")"
|
||||
if test -z "$package_available_entries"; then
|
||||
local pkghandlers="$(find "$dir_package" -type f -printf "%f\n" 2>/dev/null)"
|
||||
for handler in $pkghandlers
|
||||
|
|
Loading…
Add table
Reference in a new issue