Add apt update step (so that full package list is enabled)
This commit is contained in:
1 parent
1c648e8df5
commit
e2d7019732
1 file changed
+5
@@ -3,6 +3,11 @@ APP_DIR="$(dirname "$0")"
|
||||
cd "$APP_DIR"
|
||||
APP_DIR="$(pwd)"
|
||||
|
||||
echo "Run an apt update"
|
||||
if sudo -l apt; then
|
||||
sudo apt update
|
||||
fi
|
||||
|
||||
echo "Install zsh and friends"
|
||||
if sudo -l apt; then
|
||||
sudo apt install zsh command-not-found
|
||||
|
||||
Reference in new issue
Block a user