mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
Install required packages for fdroidserver automatically
This commit is contained in:
parent
cc641b5470
commit
be5aefd3ee
@ -51,94 +51,20 @@ apt-get upgrade
|
|||||||
apt-get update || apt-get update
|
apt-get update || apt-get update
|
||||||
|
|
||||||
packages="
|
packages="
|
||||||
androguard
|
default-jdk-headless
|
||||||
ant
|
default-jre-headless
|
||||||
asn1c
|
|
||||||
ant-contrib
|
|
||||||
autoconf
|
|
||||||
autoconf2.13
|
|
||||||
automake
|
|
||||||
automake1.11
|
|
||||||
autopoint
|
|
||||||
bison
|
|
||||||
bzr
|
|
||||||
ca-certificates-java
|
|
||||||
cmake
|
|
||||||
curl
|
|
||||||
dexdump
|
dexdump
|
||||||
disorderfs
|
fdroidserver
|
||||||
expect
|
gnupg
|
||||||
faketime
|
|
||||||
flex
|
|
||||||
gettext
|
|
||||||
gettext-base
|
|
||||||
git-core
|
|
||||||
git-svn
|
|
||||||
gperf
|
|
||||||
gpg
|
|
||||||
gpgconf
|
|
||||||
libassuan0
|
|
||||||
libgpg-error0
|
|
||||||
javacc
|
|
||||||
libarchive-zip-perl
|
|
||||||
libexpat1-dev
|
|
||||||
libgcc1:i386
|
|
||||||
libglib2.0-dev
|
|
||||||
liblzma-dev
|
|
||||||
libncurses5:i386
|
|
||||||
librsvg2-bin
|
|
||||||
libsaxonb-java
|
|
||||||
libssl-dev
|
|
||||||
libstdc++6:i386
|
|
||||||
libtool
|
|
||||||
libtool-bin
|
|
||||||
make
|
|
||||||
maven
|
|
||||||
mercurial
|
|
||||||
nasm
|
|
||||||
openjdk-8-jre-headless
|
|
||||||
openjdk-8-jdk-headless
|
|
||||||
optipng
|
|
||||||
pkg-config
|
|
||||||
python-gnupg
|
|
||||||
python-lxml
|
|
||||||
python-magic
|
|
||||||
python-pip
|
|
||||||
python-setuptools
|
|
||||||
python3-asn1crypto
|
|
||||||
python3-defusedxml
|
|
||||||
python3-git
|
|
||||||
python3-gitdb
|
|
||||||
python3-gnupg
|
|
||||||
python3-pip
|
|
||||||
python3-pyasn1
|
|
||||||
python3-pyasn1-modules
|
|
||||||
python3-qrcode
|
|
||||||
python3-requests
|
|
||||||
python3-setuptools
|
|
||||||
python3-smmap
|
|
||||||
python3-yaml
|
|
||||||
python3-ruamel.yaml
|
|
||||||
python3-pil
|
|
||||||
python3-paramiko
|
|
||||||
quilt
|
|
||||||
rsync
|
|
||||||
scons
|
|
||||||
sqlite3
|
|
||||||
subversion
|
|
||||||
sudo
|
sudo
|
||||||
swig
|
|
||||||
unzip
|
|
||||||
xsltproc
|
|
||||||
yasm
|
|
||||||
zip
|
|
||||||
zlib1g:i386
|
|
||||||
"
|
"
|
||||||
|
|
||||||
apt-get install $packages --download-only
|
apt-get install $packages --download-only
|
||||||
apt-get install $packages
|
apt-get install $packages
|
||||||
|
apt-get purge fdroidserver
|
||||||
|
|
||||||
highestjava=`update-java-alternatives --list | sort -n | tail -1 | cut -d ' ' -f 1`
|
highestjava=`update-java-alternatives --list | sort -n | tail -1 | cut -d ' ' -f 1`
|
||||||
update-java-alternatives --set $highestjava
|
update-java-alternatives --set $highestjava
|
||||||
|
|
||||||
# configure headless openjdk to work without gtk accessability dependencies
|
# configure headless openjdk to work without gtk accessibility dependencies
|
||||||
sed -i -e 's@\(assistive_technologies=org.GNOME.Accessibility.AtkWrapper\)@#\1@' /etc/java-8-openjdk/accessibility.properties
|
sed -i -e 's@\(assistive_technologies=org.GNOME.Accessibility.AtkWrapper\)@#\1@' /etc/java-11-openjdk/accessibility.properties
|
||||||
|
Loading…
Reference in New Issue
Block a user