mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 15:19:09 +01:00
preventing updating the yay cache everytime we install a package
This commit is contained in:
1 parent
83491d7dce
commit
8cfb6f70aa
1 file changed
+1
-1
@@ -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