Compare commits

..

No commits in common. "9367fef8e91ebc59bac133abd71dffb1992dee4a" and "6e15459973ba3d0dcc1e3b76a337f4114bd73073" have entirely different histories.

3 changed files with 21 additions and 2 deletions

View file

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

View file

@ -0,0 +1,11 @@
# 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 @@
yay -Fy # Updating
yay yay -Syu