Compare commits
3 commits
6e15459973
...
9367fef8e9
Author | SHA1 | Date | |
---|---|---|---|
|
9367fef8e9 | ||
|
ec7a8e863d | ||
|
8b03aa4e56 |
3 changed files with 2 additions and 21 deletions
|
@ -1,8 +0,0 @@
|
|||
# Moving to /tmp folder
|
||||
#pushd /tmp > /dev/null
|
||||
|
||||
# Updating
|
||||
sudo npm -g update
|
||||
|
||||
# Returning to previous directory
|
||||
#popd > /dev/null
|
|
@ -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
|
|
@ -1,2 +1,2 @@
|
|||
# Updating
|
||||
yay -Syu
|
||||
yay -Fy
|
||||
yay
|
||||
|
|
Loading…
Reference in a new issue