From: Felix Fietkau Date: Mon, 4 Aug 2008 22:22:29 +0000 (+0000) Subject: scripts/feeds: fix some installation warnings for locally installed packages X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bcf75aca7b19a81a7c03b7bd31cb8056f79b3a2d;p=librecmc%2Flibrecmc.git scripts/feeds: fix some installation warnings for locally installed packages SVN-Revision: 12102 --- diff --git a/scripts/feeds b/scripts/feeds index f1baad5766..b5abfc8cea 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -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; };