diff options
author | rudson <rudson@04377dda-e619-0410-9926-eae83683ac58> | 2007-01-06 20:15:01 +0000 |
---|---|---|
committer | rudson <rudson@04377dda-e619-0410-9926-eae83683ac58> | 2007-01-06 20:15:01 +0000 |
commit | 8bb0385f2a6d79d04bf9ae957245ae7786bc7ac6 (patch) | |
tree | ec58962a4e8d384055bd936d74df1d4af261eaab /src | |
parent | 81a2916ad66fcb7708293774ffca7370ca1d9d2c (diff) | |
download | simplepkg-8bb0385f2a6d79d04bf9ae957245ae7786bc7ac6.tar.gz simplepkg-8bb0385f2a6d79d04bf9ae957245ae7786bc7ac6.tar.bz2 |
createpkg: mais algumas alerações
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@85 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src')
-rw-r--r-- | src/createpkg | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/createpkg b/src/createpkg index 0db3f8c..2a94be2 100644 --- a/src/createpkg +++ b/src/createpkg @@ -165,7 +165,7 @@ function solve_dep { local INSTALLED=`eval "ls /var/log/packages/ | egrep '^$PACK-[^-]+-[^-]+-[^-]+$'"` # TODO: Make check version procedures - if [ -z $INSTALLED ]; then + if [ -z "$INSTALLED" ]; then if [ $? -ne 0 ]; then # Check package in SlackBuilds tree echo -e "$CL_MENSG $BASENAME: processing $PACKAGE dependency $PACK $CL_OFF" @@ -182,11 +182,11 @@ function solve_dep { ARCH=$DEFAULT_ARCH simplaret --install $PACK EXIT_CODE="$?" if [ "$EXIT_CODE" != "0" ]; then - handle_error $SCRIPT_OR_PACKAGE_NOT_FOUND + handle_error $SCRIPT_OR_PACKAGE_NOT_FOUND $PACK fi elif [ "$EXIT_CODE" != "0" ]; then - handle_error $EXIT_CODE + handle_error $EXIT_CODE $PACK fi fi @@ -206,14 +206,14 @@ function sync_repo { # Synchronize repository cd $SLACKBUILDS svn update || build_repo - simplaret --update + #simplaret --update } function find_slackbuild { # Find SlackBuild script in the repository - find $SLACKBUILDS -name $1.SlackBuild + find $SLACKBUILDS -iname $1.SlackBuild } |