mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 07:10:37 +00:00
(scanDynamic): Skip anything with a .service extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16759 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
52308a0016
commit
e0b048af5a
2 changed files with 9 additions and 0 deletions
|
@ -612,6 +612,10 @@ scanDynamic(NSMutableDictionary *services, NSString *path)
|
|||
continue;
|
||||
}
|
||||
|
||||
/* *.service bundles are handled in scanDirectory */
|
||||
if ([[name pathExtension] isEqualToString: @"service"])
|
||||
continue;
|
||||
|
||||
infPath = [path stringByAppendingPathComponent: name];
|
||||
|
||||
info = [NSDictionary dictionaryWithContentsOfFile: infPath];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue