Compare commits

...

3 commits

Author SHA1 Message Date
Hippolyte Chauvin
9367fef8e9 Synchronisation de la bdd locale dans yay ; pas besoin de '-Syu' dans la commande 2023-04-13 00:35:52 +02:00
Hippolyte Chauvin
ec7a8e863d Plus besoin de pacman non plus 2023-04-13 00:34:55 +02:00
Hippolyte Chauvin
8b03aa4e56 Plus besoin du gestionnaire npm 2023-04-13 00:34:10 +02:00
3 changed files with 2 additions and 21 deletions

View file

@ -1,8 +0,0 @@
# Moving to /tmp folder
#pushd /tmp > /dev/null
# Updating
sudo npm -g update
# Returning to previous directory
#popd > /dev/null

View file

@ -1,11 +0,0 @@
# Gathering orphaned packages list
echo "Gathering orphaned packages list..."
orphaned_packages="$(pacman -Qtdq)"
if [[ ! -z $orphaned_packages ]]; then
echo "$orphaned_packages" | sudo pacman -Rns -
else
echo "No package to be removed."
fi
unset orphaned_packages

View file

@ -1,2 +1,2 @@
# Updating
yay -Syu
yay -Fy
yay