spk rev 106

removed run func at bottom of libspk, conflicts with wireless_tools
author Christian Mesh <meshca@clarkson.edu>
date Sat Jun 02 19:39:33 2012 -0500 (2012-06-02)
parents c27b19df240c
children 0d6ff2bd74e8
files lib/libspk.sh
line diff
     1.1 --- a/lib/libspk.sh	Sat Jun 02 18:58:05 2012 -0500
     1.2 +++ b/lib/libspk.sh	Sat Jun 02 19:39:33 2012 -0500
     1.3 @@ -292,7 +292,7 @@
     1.4  		if [ ! -d "$installed/$pkg" ]; then
     1.5  			gettext "Missing:"; echo " $pkg"
     1.6  			deps=$(($deps+1))
     1.7 -		elif ! is_package_installed $pkg/receipt; then
     1.8 +		elif [ ! -f "$installed/$pkg/receipt" ]; then
     1.9  			gettext "WARNING: Dependency loop between:"; newline
    1.10  			echo "  $package --> $pkg"
    1.11  		fi
    1.12 @@ -312,8 +312,3 @@
    1.13  is_elf() {
    1.14  	[ "$(dd if=$1 bs=1 skip=1 count=3 2> /dev/null)" = "ELF" ]
    1.15  }
    1.16 -
    1.17 -# Exec functions directly for developement purposes.
    1.18 -case $1 in
    1.19 -	*_*) func=$1 && shift && $func $@ ;;
    1.20 -esac