scripts/feeds: fix some installation warnings for locally installed packages
authorFelix Fietkau <nbd@openwrt.org>
Mon, 4 Aug 2008 22:22:29 +0000 (22:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 4 Aug 2008 22:22:29 +0000 (22:22 +0000)
SVN-Revision: 12102

scripts/feeds

index f1baad5..b5abfc8 100755 (executable)
@@ -245,7 +245,7 @@ sub install_package {
        $feed or do {
                $installed{$name} and return 0;
                # TODO: check if it's already installed within ./package directory
        $feed or do {
                $installed{$name} and return 0;
                # TODO: check if it's already installed within ./package directory
-               warn "WARNING: No feed for package '$name' found, maybe it's already part of the standard packages?\n";
+               $srcpackage{$name} or -d "./package/$name" or warn "WARNING: No feed for package '$name' found, maybe it's already part of the standard packages?\n";
                return 0;
        };
 
                return 0;
        };