summaryrefslogtreecommitdiffstats
path: root/modules/package/manifests/yaourt.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/package/manifests/yaourt.pp')
-rw-r--r--modules/package/manifests/yaourt.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/package/manifests/yaourt.pp b/modules/package/manifests/yaourt.pp
index e374e84..cb409b0 100644
--- a/modules/package/manifests/yaourt.pp
+++ b/modules/package/manifests/yaourt.pp
@@ -9,13 +9,13 @@ define package::yaourt($ensure, $asdeps=false) {
case $ensure {
'installed': {
exec { "/usr/bin/yaourt --noconfirm --needed$asdeps -S $name":
- unless => "pacman -Q $name > /dev/null 2>&1",
+ unless => "/usr/bin/pacman -Q $name > /dev/null 2>&1",
require => Package::Makepkg["yaourt"];
}
}
'absent': {
exec { "/usr/bin/yaourt --noconfirm -Rsn $name":
- onlyif => "pacman -Q $name > /dev/null 2>&1",
+ onlyif => "/usr/bin/pacman -Q $name > /dev/null 2>&1",
require => Package::Makepkg["yaourt"];
}
}