scripts/feeds: Delete package/feeds folder in the clean procedure to prevent dangling links.

Hello,

if you run:
./scripts/feeds clean
It removes ./feeds folder but not ./package/feeds/ which is full of dangling links then. This patch fixes it.

Best Regards,
Martin Strbačka

Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz>

SVN-Revision: 45738
This commit is contained in:
John Crispin 2015-05-23 15:29:06 +00:00
parent a2d0d58a8e
commit 803ebd2725

View File

@ -793,7 +793,7 @@ my %commands = (
'uninstall' => \&uninstall, 'uninstall' => \&uninstall,
'feed_config' => \&feed_config, 'feed_config' => \&feed_config,
'clean' => sub { 'clean' => sub {
system("rm -rf feeds"); system("rm -rf ./feeds ./package/feeds");
} }
); );