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 f1baad5766dd2742c78c40211a5afd1f9e0b6f90..b5abfc8cea768cb057ca77498499e389a0936fd6 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
-               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;
        };