diff options
Diffstat (limited to 'sbodeps')
-rwxr-xr-x | sbodeps | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |