Don't provide ourself, fixes #190

This commit is contained in:
Roy Marples 2009-07-20 19:42:15 +01:00
parent 08b5664668
commit 7fbb6ad427

View File

@ -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 &&