summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-04 15:38:40 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-04 15:38:40 +0100
commitec2dfe9effdb47d9eb26bc11e4ad0d56d3060412 (patch)
tree45e4e61236bf5a1f5330030a95f004356c9cb2e9
parent3d7f8cddb67ca20d929d2e583007e4511aefbcd0 (diff)
bugfix for yaourt installing
-rw-r--r--unofficial/modules/yaourt/libs/lib-yaourt-sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/unofficial/modules/yaourt/libs/lib-yaourt-sh b/unofficial/modules/yaourt/libs/lib-yaourt-sh
index 79730dc..e7777ce 100644
--- a/unofficial/modules/yaourt/libs/lib-yaourt-sh
+++ b/unofficial/modules/yaourt/libs/lib-yaourt-sh
@@ -8,7 +8,7 @@ _runtime_yaourt ()
then
target_add_pacman_repo archlinuxfr 'Server = http://repo.archlinux.fr/i686'
fi
- PACMAN_TARGET -Sy yaourt
+ $PACMAN_TARGET -Sy yaourt || die_error "_runtime_yaourt Cannot install yaourt"
YAOURT=`sed 's/pacman/yaourt/' <<< $PACMAN`
YAOURT_TARGET=`sed 's/pacman/yaourt/' <<< $PACMAN_TARGET`
}