summaryrefslogtreecommitdiffstats
path: root/arch-up
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-10-14 16:02:25 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-10-14 16:02:25 +0200
commit1b7c34ade0d073f04cc209d783df5d819c2283bf (patch)
treee79425264dccb387824d5a9f83ff3055f2d87add /arch-up
parent5fc07b1ba1d82a3f2cffe3be3d3f2966d4466016 (diff)
downloadbin-1b7c34ade0d073f04cc209d783df5d819c2283bf.zip
bin-1b7c34ade0d073f04cc209d783df5d819c2283bf.tar.gz
arch-up: exit 1 if pacman fail
Diffstat (limited to 'arch-up')
-rwxr-xr-xarch-up2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-up b/arch-up
index b6d16c2..ffea5ef 100755
--- a/arch-up
+++ b/arch-up
@@ -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"