summaryrefslogtreecommitdiff
path: root/unofficial/modules/yaourt
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-04 15:51:07 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-04 15:51:07 +0100
commit935a051308257c0b43d410ae38be625eb1a095b3 (patch)
tree30bb2b1c355bc9430bfc2f0e9df6c5cdecc040c3 /unofficial/modules/yaourt
parentec2dfe9effdb47d9eb26bc11e4ad0d56d3060412 (diff)
oops.. runtime != target. fixes for yaourt and pacman
Diffstat (limited to 'unofficial/modules/yaourt')
-rw-r--r--unofficial/modules/yaourt/libs/lib-yaourt-sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/unofficial/modules/yaourt/libs/lib-yaourt-sh b/unofficial/modules/yaourt/libs/lib-yaourt-sh
index e7777ce..fd9c4d0 100644
--- a/unofficial/modules/yaourt/libs/lib-yaourt-sh
+++ b/unofficial/modules/yaourt/libs/lib-yaourt-sh
@@ -4,11 +4,11 @@
_runtime_yaourt ()
{
- if ! target_list_pacman_repos | grep -q archlinuxfr
+ if ! list_pacman_repos runtime | grep -q archlinuxfr
then
- target_add_pacman_repo archlinuxfr 'Server = http://repo.archlinux.fr/i686'
+ add_pacman_repo runtime archlinuxfr 'Server = http://repo.archlinux.fr/i686'
fi
- $PACMAN_TARGET -Sy yaourt || die_error "_runtime_yaourt Cannot install yaourt"
+ $PACMAN -Sy yaourt || die_error "_runtime_yaourt Cannot install yaourt"
YAOURT=`sed 's/pacman/yaourt/' <<< $PACMAN`
YAOURT_TARGET=`sed 's/pacman/yaourt/' <<< $PACMAN_TARGET`
}