Merge pull request #214 from linuxserver/code-server-flutter-apt

standardize apt-get
This commit is contained in:
aptalca
2021-06-23 17:58:47 -04:00
committed by GitHub
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