feat: handle subpackages (e.g. jdk/8)
This commit is contained in:
parent
9739fea99c
commit
286d294e9f
7 changed files with 9 additions and 6 deletions
|
@ -1,2 +1,5 @@
|
||||||
java
|
git
|
||||||
|
jdk
|
||||||
|
jdk/8
|
||||||
|
gradle
|
||||||
intellijidea-ultimate
|
intellijidea-ultimate
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
git
|
|
||||||
jdk8
|
|
||||||
openjdk
|
|
||||||
gradle
|
|
2
instalee
2
instalee
|
@ -18,7 +18,7 @@ getcontent() {
|
||||||
# Get available package entries for given package
|
# Get available package entries for given package
|
||||||
getentries() {
|
getentries() {
|
||||||
cat "$home/handlers.available" | while read handler
|
cat "$home/handlers.available" | while read handler
|
||||||
do find "$home/packages/$1/" -type f -name "$handler*" 2>/dev/null
|
do find "$home/packages/$1/" -depth -type f -name "$handler*" | tac 2>/dev/null
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
1
packages/jdk/8/arch
Normal file
1
packages/jdk/8/arch
Normal file
|
@ -0,0 +1 @@
|
||||||
|
jdk8-openjdk
|
1
packages/jdk/8/chocolatey
Normal file
1
packages/jdk/8/chocolatey
Normal file
|
@ -0,0 +1 @@
|
||||||
|
jdk8
|
1
packages/jdk/arch
Normal file
1
packages/jdk/arch
Normal file
|
@ -0,0 +1 @@
|
||||||
|
jdk-openjdk
|
1
packages/jdk/chocolatey
Normal file
1
packages/jdk/chocolatey
Normal file
|
@ -0,0 +1 @@
|
||||||
|
openjdk
|
Loading…
Add table
Reference in a new issue