aboutsummaryrefslogtreecommitdiff
path: root/src/createpkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/createpkg')
-rw-r--r--src/createpkg9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/createpkg b/src/createpkg
index c7b35a8..f4b8f82 100644
--- a/src/createpkg
+++ b/src/createpkg
@@ -220,6 +220,7 @@ if [ -z "$BUILD_SCRIPT" ]; then
fi
SCRIPT_BASE="`dirname $BUILD_SCRIPT`"
+echo $BASENAME: found script $PACKAGE.SlackBuild, now checking for dependencies
# sets the package's slack-required
if [ -f "$SCRIPT_BASE/$PACKAGE.slack-required" ]; then
@@ -228,12 +229,8 @@ elif [ -f "$SCRIPT_BASE/slack-required" ]; then
SLACK_REQ="$SCRIPT_BASE/slack-required"
fi
-echo $BASENAME: found script $PACKAGE.SlackBuild, now checking for dependencies
-
if [ ! -z "$SLACK_REQ" ] && [ "$NO_DEPS" != "1" ]; then
-
# this routine checks for dependencies in package's slack-required
-
while read dep; do
if [ ! -z "$dep" ]; then
program="`echo $dep | awk '{ print $1 }'`"
@@ -242,7 +239,9 @@ if [ ! -z "$SLACK_REQ" ] && [ "$NO_DEPS" != "1" ]; then
solve_dep $program $condition $version
fi
done < <( cat $SLACK_REQ )
-
+ echo $BASNEMAE: done checking for $PACKAGE dependencies
+else
+ echo $BASENAME: no unmet dependencies for $PACKAGE
fi
echo $BASENAME: processing `basename $BUILD_SCRIPT`