File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2-
3- architecture=" $1 "
42source lib.sh
53
6- case " $architecture " in
7- " armhf" | " " )
8- pkgs=(" raspbian-archive-keyring" " apt-transport-https" )
9- os=raspbian
10- ;;
11- " arm64" )
12- pkgs=(" apt-transport-https" )
13- os=debian
14- ;;
15- esac
4+ pkgs=(" apt-transport-https" )
5+ os=debian
166
177is_installed () {
188 pkg=" $1 "
@@ -22,8 +12,6 @@ is_installed() {
2212install_stuff () {
2313 local need_install
2414
25-
26-
2715 for pkg in ${pkgs[*]} ; do
2816 if ! is_installed " $pkg " ; then
2917 need_install=" $need_install $pkg "
@@ -41,13 +29,13 @@ install_stuff() {
4129# List of extra APT repositories
4230ADD_REPOS=(
4331 # curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key > keys/68576280.key
44- " deb https://deb.nodesource.com/node_10.x buster main"
32+ # "deb https://deb.nodesource.com/node_10.x buster main"
4533 # curl -fsSL https://download.docker.com/linux/debian/gpg > keys/0EBFCD88.key
46- " deb [arch=$architecture ] https://download.docker.com/linux/$os buster stable"
34+ # "deb [arch=$architecture] https://download.docker.com/linux/$os buster stable"
4735 # curl https://cli.github.com/packages/githubcli-archive-keyring.gpg > keys/C99B11DEB97541F0.key
48- " deb [arch=$architecture ] https://cli.github.com/packages buster main"
36+ # "deb [arch=$architecture] https://cli.github.com/packages buster main"
4937 # curl https://packages.cloud.google.com/apt/doc/apt-key.gpg > keys/8B57C5C2836F4BEB.key
50- " deb https://packages.cloud.google.com/apt coral-cloud-stable main"
38+ # "deb https://packages.cloud.google.com/apt coral-cloud-stable main"
5139)
5240
5341LIST=mnt/img_root/etc/apt/sources.list.d/treehouses.list
You can’t perform that action at this time.
0 commit comments