mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 11:02:13 +02:00
preventing updating the yay cache everytime we install a package
This commit is contained in:
@@ -101,7 +101,7 @@ function ensure_package_is_installed() {
|
||||
if ! is_installed "$1"
|
||||
then
|
||||
log "Installation de $1..."
|
||||
yay -Syyu --noconfirm --needed "$1"
|
||||
yay -S --noconfirm --needed "$1"
|
||||
else
|
||||
log "Paquet $1 déjà installé."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user