mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 15:42:14 +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"
|
if ! is_installed "$1"
|
||||||
then
|
then
|
||||||
log "Installation de $1..."
|
log "Installation de $1..."
|
||||||
yay -Syyu --noconfirm --needed "$1"
|
yay -S --noconfirm --needed "$1"
|
||||||
else
|
else
|
||||||
log "Paquet $1 déjà installé."
|
log "Paquet $1 déjà installé."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user