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() {
|
installpkg() {
|
||||||
test "$1" = "--quiet" && local quiet=true && shift
|
test "$1" = "--quiet" && local quiet=true && shift
|
||||||
local dir_package="$dir_packages/$1/"
|
local dir_package="$dir_packages/$1/"
|
||||||
# prefer unsuffixed entries, i.e. sort by length
|
# TODO prefer unsuffixed entries, i.e. sort by length
|
||||||
test -d "$dir_package" && local package_available_entries="$(getentries "$1")"
|
local package_available_entries=""
|
||||||
|
test -d "$dir_package" && package_available_entries="$(getentries "$1")"
|
||||||
if test -z "$package_available_entries"; then
|
if test -z "$package_available_entries"; then
|
||||||
local pkghandlers="$(find "$dir_package" -type f -printf "%f\n" 2>/dev/null)"
|
local pkghandlers="$(find "$dir_package" -type f -printf "%f\n" 2>/dev/null)"
|
||||||
for handler in $pkghandlers
|
for handler in $pkghandlers
|
||||||
|
|
Loading…
Add table
Reference in a new issue