Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=72ca27df656acbf990b13896af357dbac8b8c072

commit 72ca27df656acbf990b13896af357dbac8b8c072
Author: James Buren <r...@frugalware.org>
Date:   Tue May 24 21:40:53 2011 -0500

fw32-0.5-1-x86_64
* oops, forgot to call the pacman function wrapper instead of pacman-g2 directly

diff --git a/source/apps-extra/fw32/FrugalBuild 
b/source/apps-extra/fw32/FrugalBuild
index de1df10..7db9603 100644
--- a/source/apps-extra/fw32/FrugalBuild
+++ b/source/apps-extra/fw32/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: James Buren <r...@frugalware.org>

pkgname=fw32
-pkgver=0.4
+pkgver=0.5
pkgrel=1
pkgdesc="A framework for maintaining an i686 environment on x86_64."
url="http://www.frugalware.org";
diff --git a/source/apps-extra/fw32/fw32 b/source/apps-extra/fw32/fw32
index 4acd213..3526528 100644
--- a/source/apps-extra/fw32/fw32
+++ b/source/apps-extra/fw32/fw32
@@ -45,7 +45,7 @@ check_root()
mount_base
}

-pacman()
+_pacman()
{
linux32 pacman-g2 --root $FW32_ROOT --config $FW32_CONFIG --noconfirm $@
return $?
@@ -58,28 +58,28 @@ case $0 in
mkdir -p $FW32_ROOT/{dev,tmp,proc,sys}
[ $? -ne 0 ] && error "Failed to create fw32 root directories."
mount_base
-               pacman-g2 -Sy shadow coreutils findutils which wget file tar 
gzip bzip2 util-linux procps kbd psmisc less
+               _pacman -Sy shadow coreutils findutils which wget file tar gzip 
bzip2 util-linux procps kbd psmisc less
[ $? -ne 0 ] && error "Failed to create fw32 root."
;;
*fw32-update)
check_root
cp -r -f -p -P /etc $FW32_ROOT
-               pacman-g2 -Syuf
+               _pacman -Syuf
[ $? -ne 0 ] && error "Failed to update fw32 root."
;;
*fw32-install)
check_root
-               pacman-g2 -Syf $@
+               _pacman -Syf $@
[ $? -ne 0 ] && error "Failed to install any packages to fw32 root."
;;
*fw32-uninstall)
check_root
-               pacman-g2 -Rsc $@
+               _pacman -Rsc $@
[ $? -ne 0 ] && error "Failed to uninstall any packages from fw32 root."
;;
*fw32-clean)
check_root
-               pacman-g2 -Sc
+               _pacman -Sc
[ $? -ne 0 ] && error "Failed to clean fw32 root directory."
;;
*fw32-delete)
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to