FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
android_tools/setup.sh at master · DevelopmentAndroidTools/android_tools · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
DevelopmentAndroidTools
/
android_tools
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
14
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
android_tools
/
setup.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (19 loc) · 939 Bytes
Breadcrumbs
android_tools
/
setup.sh
Copy path
File metadata and controls
23 lines (19 loc) · 939 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!
/bin/bash
#
SPDX-License-Identifier: GPL-3.0-or-later
#
#
Copyright (C) 2019 Shivam Kumar Jha <jha.shivam3@gmail.com>
#
#
Helper functions
#
Store project path
PROJECT_DIR=
"
$(
cd
"
$(
dirname
"
${BASH_SOURCE[0]}
"
)
"
>
/dev/null
&&
pwd
)
"
if
[
"
$EUID
"
-ne
0 ]
then
echo
"
Please run as root
"
exit
1
fi
#
Install some packages
if
[[
-e
"
/usr/bin/apt-get
"
]]
;
then
apt-get install -y aria2 arj brotli cabextract cmake device-tree-compiler file-roller g++ git liblz4-tool liblzma-dev libtinyxml2-dev mpack openjdk-8-jdk p7zip-full p7zip-rar python3-pip rar rename sharutils unace unrar unzip uudeview zip
elif
[[
-e
"
/usr/bin/pacman
"
]]
;
then
pacman -Syu --noconfirm android-tools aria2 arj brotli cabextract cmake dtc file-roller gcc git lz4 xz tinyxml2 mpack jdk8-openjdk p7zip python2-pip python-pip rename rar unrar sharutils unace zip unzip uudeview zip
fi
pip3 install backports.lzma docopt protobuf pycrypto zstandard
Back
|
FazBrowse Home
|
New Git URL