diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-10-14 16:02:25 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-10-14 16:02:25 +0200 |
commit | 1b7c34ade0d073f04cc209d783df5d819c2283bf (patch) | |
tree | e79425264dccb387824d5a9f83ff3055f2d87add /arch-up | |
parent | 5fc07b1ba1d82a3f2cffe3be3d3f2966d4466016 (diff) | |
download | bin-1b7c34ade0d073f04cc209d783df5d819c2283bf.zip bin-1b7c34ade0d073f04cc209d783df5d819c2283bf.tar.gz |
arch-up: exit 1 if pacman fail
Diffstat (limited to 'arch-up')
-rwxr-xr-x | arch-up | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ function update_gem() { } function update_pkgs() { - sudo_run "pacman -Syu" + sudo_run "pacman -Syu" || return sudo_run "pacman -Scc --noconfirm" sudo_run "rm /var/cache/pacman/pkg/*" run "aurget -Syu" |