aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsbodeps10
1 files changed, 8 insertions, 2 deletions
diff --git a/sbodeps b/sbodeps
index 9eeb692..87a274b 100755
--- a/sbodeps
+++ b/sbodeps
@@ -2,7 +2,9 @@
# This really is a bash script, please don't change to #!/bin/sh
-SBOROOT=${SBOROOT:-/home/urchlay/slackbuilds/sbo/14.1/}
+# TODO: rewrite, this is fugly. Maybe use perl instead of bash.
+
+SBOROOT=${SBOROOT:-/home/urchlay/sbogit}
if [ ! -d $SBOROOT ]; then
SBOROOT=.
fi
@@ -106,7 +108,11 @@ RETVAL=0
for arg; do
echo -n $arg
print_installed_status $arg
- [ "$QUEUE" = "yes" ] && ! pkg_is_installed $arg && echo 0 $arg >> $QTMPFILE
+ if [ "$QUEUE" = "yes" ]; then
+ if ! pkg_is_installed $arg || [ "$IGNORE" = "yes" ]; then
+ echo 0 $arg >> $QTMPFILE
+ fi
+ fi
find_deps 1 $arg
done