install-dependencies-verification.sh 599 Bytes
Newer Older
Torsten Grote's avatar
Torsten Grote committed
1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env bash
set -e
set -x

apt-get install -y --no-install-recommends \
	enjarify \
	python3-pip python3-setuptools python3-wheel \
	python3-libarchive-c \
	libmagic1

# Install latest diffoscope (version in Debian stable is outdated)
12
pip3 install diffoscope==83
Torsten Grote's avatar
Torsten Grote committed
13 14 15 16 17 18 19 20

# Install latest apktool for verification debugging
wget --no-verbose https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.3.3.jar -O /opt/apktool.jar
cat >/usr/local/bin/apktool <<EOF
#!/usr/bin/env bash
java -jar /opt/apktool.jar \$@
EOF
chmod +x /usr/local/bin/apktool
21
mkdir -p /root/.local/share/apktool/framework