aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-01-17 20:52:58 +0000
committerrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-01-17 20:52:58 +0000
commit46410c89229ba465a86b51fb57b2a0986f2f1732 (patch)
tree156b6b0670082f44c19015b415c582d4de0b108f
parentd8775bf06cb494ba70dacec6cb828e4adfca9921 (diff)
downloadsimplepkg-46410c89229ba465a86b51fb57b2a0986f2f1732.tar.gz
simplepkg-46410c89229ba465a86b51fb57b2a0986f2f1732.tar.bz2
createpkg: correção do local INSTALLED...
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@107 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--src/createpkg3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/createpkg b/src/createpkg
index 42125c9..5ab979f 100644
--- a/src/createpkg
+++ b/src/createpkg
@@ -163,10 +163,11 @@ function solve_dep {
# Check package in local system
INSTALLED=`eval "ls /var/log/packages/ | egrep '^$PACK-[^-]+-[^-]+-[^-]+$'"`
+ CHECK=$?
# TODO: Make check version procedures
if [ -z "$INSTALLED" ]; then
- if [ $? -ne 0 ]; then
+ if [ $CHECK -ne 0 ]; then
# Check package in SlackBuilds tree
echo -e "$CL_MENSG $BASENAME: processing $PACKAGE dependency $PACK $CL_OFF"
SYNC=no CREATEPKG_CHILD=$CREATEPKG_CHILD createpkg --install $PACK