aboutsummaryrefslogtreecommitdiff
path: root/src/anaconda
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2022-08-23 16:17:08 +0300
committerGitHub <noreply@github.com>2022-08-23 16:17:08 +0300
commit0cafeee86296b9f19e6425055e0c4037eff41985 (patch)
tree1320a7b4c79a9a676e30632117bbd5a955b673ba /src/anaconda
parent58e425039a1dc78cde64e9c1939e2a3dfed6d22a (diff)
favor correctness by removing `apt update ...` short-circuiting (#98)
* favor correctness by removing apt update shortciruiting * Update install.sh * apt_get_upadate in node * update test
Diffstat (limited to 'src/anaconda')
-rwxr-xr-xsrc/anaconda/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/anaconda/install.sh b/src/anaconda/install.sh
index 750077e..9e7042a 100755
--- a/src/anaconda/install.sh
+++ b/src/anaconda/install.sh
@@ -64,7 +64,7 @@ updaterc() {
# Checks if packages are installed and installs them if not
check_packages() {
if ! dpkg -s "$@" > /dev/null 2>&1; then
- apt-get update
+ apt-get update -y
apt-get -y install --no-install-recommends "$@"
fi
}