mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
install
This commit is contained in:
parent
1a13ad900c
commit
0c1fc84d94
1 changed files with 2 additions and 2 deletions
|
@ -178,10 +178,10 @@ install_tools(){
|
|||
echo "Waiting for other software managers to finish..."
|
||||
sleep 5
|
||||
done
|
||||
sudo apt update -y 1>/dev/null 2>&1
|
||||
sudo apt-get update -y 1>/dev/null 2>&1
|
||||
for package in $tools_apt; do
|
||||
echo "Start to install $package"
|
||||
sudo apt install $package -y > /dev/null
|
||||
sudo apt-get install $package -y > /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue