standardize apt-get

This commit is contained in:
aptalca
2021-06-16 17:17:19 -04:00
parent de86c3fd32
commit e331bbf5e4
2 changed files with 11 additions and 9 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
apt-get update
-1
View File
@@ -4,7 +4,6 @@ ARCH=$(uname -m)
if [ ! -f "/flutter/bin/flutter" ]; then if [ ! -f "/flutter/bin/flutter" ]; then
echo "Installing Flutter" echo "Installing Flutter"
apt-get update
apt-get install -y \ apt-get install -y \
unzip unzip
git clone https://github.com/flutter/flutter.git -b beta --depth 1 /flutter git clone https://github.com/flutter/flutter.git -b beta --depth 1 /flutter