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