Update Flash.sh
This commit is contained in:
14
Flash.sh
14
Flash.sh
@@ -39,17 +39,21 @@ read flavour
|
||||
|
||||
|
||||
echo -e "\n Setting up environment"
|
||||
sudo apt-get -y update
|
||||
sudo apt-get install curl -y
|
||||
sudo apt-get install u-boot-tools -y
|
||||
sudo apt-get -y install \
|
||||
sudo apt -y update
|
||||
sudo apt -y install \
|
||||
git \
|
||||
fastboot \
|
||||
sunxi-tools \
|
||||
u-boot-tools \
|
||||
adb \
|
||||
u-boot-tools \
|
||||
android-tools-fastboot \
|
||||
u-boot-tools \
|
||||
curl \
|
||||
wget \
|
||||
|
||||
wget http://mirrors.kernel.org/ubuntu/pool/universe/s/sunxi-tools/sunxi-tools_1.4.1-1_amd64.deb
|
||||
sudo dpkg -i sunxi-tools*.deb
|
||||
sudo rm -rf sunxi-tools*.deb
|
||||
|
||||
echo -e "\n Adding current user to dialout group"
|
||||
sudo usermod -a -G dialout $(logname)
|
||||
|
||||
Reference in New Issue
Block a user