Skip to content

Commit b6f9870

Browse files
committed
Do not use apt in bash
1 parent 5ab4f94 commit b6f9870

5 files changed

+5
-5
lines changed

backend

scripts/pi-setup/install-pi-dependencies.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ SAVEIFS=$IFS
4747
IFS=$(echo -en "\r")
4848
for package in ${packagelist[@]}; do
4949
print_script_step "Instaling package: ${package[@]}"
50-
sudo DEBIAN_FRONTEND=noninteractive sudo apt satisfy ${package[@]} -y --allow-downgrades
50+
sudo DEBIAN_FRONTEND=noninteractive sudo apt-get satisfy ${package[@]} -y --allow-downgrades
5151
done
5252
IFS=$SAVEIFS
5353

scripts/ubuntu/1-install-dependencies.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ SAVEIFS=$IFS
4545
IFS=$(echo -en "\r")
4646
for package in ${packagelist[@]}; do
4747
print_script_step "Instaling package: ${package[@]}"
48-
sudo DEBIAN_FRONTEND=noninteractive apt satisfy ${package[@]} -y --allow-downgrades
48+
sudo DEBIAN_FRONTEND=noninteractive apt-get satisfy ${package[@]} -y --allow-downgrades
4949
done
5050
IFS=$SAVEIFS
5151

scripts/ubuntu/1.1-install-docker-repository.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ echo \
6363
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
6464
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
6565
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
66-
sudo apt-get update
66+
sudo apt-get update
6767

6868
print_end_of_script

scripts/wifi-connect.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ source "$SCRIPT_DIR/utils.sh"
2121

2222
print_start_of_script
2323

24-
sudo apt install network-manager
24+
sudo apt-get install network-manager
2525
sudo nmtui-connect
2626

2727
print_end_of_script

0 commit comments

Comments
 (0)