Don't provide ourself, fixes #190
This commit is contained in:
parent
08b5664668
commit
7fbb6ad427
@ -802,6 +802,11 @@ rc_deptree_update(void)
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Don't provide ourself */
|
||||
if (strcmp(type, "iprovide") == 0 &&
|
||||
strcmp(depend, service) == 0)
|
||||
continue;
|
||||
|
||||
/* .sh files are not init scripts */
|
||||
l = strlen(depend);
|
||||
if (l > 2 &&
|
||||
|
Loading…
Reference in New Issue
Block a user