This commit is contained in:
milisbir 2017-09-09 10:40:20 +03:00
parent b8e4b6c6b0
commit 09dd19c600
1 changed files with 0 additions and 5 deletions

View File

@ -92,11 +92,6 @@ build() {
mkdir -p $PKG/usr/lib/java/$name mkdir -p $PKG/usr/lib/java/$name
cp -r openjdk.build/images/j2sdk-image/* $PKG/usr/lib/java/$name cp -r openjdk.build/images/j2sdk-image/* $PKG/usr/lib/java/$name
mkdir -p $PKG/etc/revdep.d
echo "/usr/lib/java/$name/jre/lib/amd64" > $PKG/etc/revdep.d/$name
echo "/usr/lib/java/$name/jre/lib/amd64/jli" >> $PKG/etc/revdep.d/$name
echo "/usr/lib/java/$name/jre/lib/amd64/server" >> $PKG/etc/revdep.d/$name
# remove unneeded files # remove unneeded files
rm -f $PKG/usr/lib/java/$name/src.zip rm -f $PKG/usr/lib/java/$name/src.zip
rm -rf $PKG/usr/lib/java/$name/{demo,sample} rm -rf $PKG/usr/lib/java/$name/{demo,sample}