Update apt repositories before installing dbus

GitHub actions are erroring due to the package not being found;
Updating the repository listings shoud fix this.

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
This commit is contained in:
Christina Ying Wang 2022-11-02 11:19:52 -07:00
parent 9e2d912fa1
commit 574f2ffb14

View File

@ -10,6 +10,7 @@ if command -v apt > /dev/null; then
exit 0 exit 0
else else
echo "Installing $DEBIAN..." echo "Installing $DEBIAN..."
sudo apt-get update
sudo apt-get install $DEBIAN sudo apt-get install $DEBIAN
fi fi
elif command -v brew > /dev/null; then elif command -v brew > /dev/null; then