diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-08-09 07:58:37 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-08-09 07:58:37 +0200 |
commit | c26071d2b45196ce26cad143b7ac75e7ce605a14 (patch) | |
tree | 1d9897849f58ddbb9f30dc145e7cb362119ade64 /update | |
parent | 5b5562e117360b23624423b3f08a58cb18957482 (diff) | |
download | bin-c26071d2b45196ce26cad143b7ac75e7ce605a14.zip bin-c26071d2b45196ce26cad143b7ac75e7ce605a14.tar.gz |
update : clean pacman and aurman cached before updateing
Diffstat (limited to 'update')
-rwxr-xr-x | update | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -37,9 +37,10 @@ function update_gem() { } function update_pkgs() { - sudo_run "pacman -Syu" || return sudo_run "pacman -Scc --noconfirm" + sudo_run "pacman -Syu" || return sudo_run "rm /var/cache/pacman/pkg/*" + run "aurman -Sc --noconfirm" run "aurman -Syu" } |