Add apt update step (so that full package list is enabled)

This commit is contained in:
2024-02-17 18:50:11 +08:00
parent 1c648e8df5
commit e2d7019732

View File

@@ -3,6 +3,11 @@ APP_DIR="$(dirname "$0")"
cd "$APP_DIR" cd "$APP_DIR"
APP_DIR="$(pwd)" APP_DIR="$(pwd)"
echo "Run an apt update"
if sudo -l apt; then
sudo apt update
fi
echo "Install zsh and friends" echo "Install zsh and friends"
if sudo -l apt; then if sudo -l apt; then
sudo apt install zsh command-not-found sudo apt install zsh command-not-found