summaryrefslogtreecommitdiff
path: root/command-list.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2014-05-30 13:47:04 -0700
committerAaron Plattner <aplattner@nvidia.com>2014-05-30 13:47:04 -0700
commit57edcc2307731f0f28710390106670358927bc35 (patch)
tree782317fd68ff05e95b87ede75d2a30eea931b51c /command-list.c
parent35b8b105ffeeb785bb6776c1cda33eb244ee1580 (diff)
337.25337.25
Diffstat (limited to 'command-list.c')
-rw-r--r--command-list.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/command-list.c b/command-list.c
index 6b2c33c..1ff75e7 100644
--- a/command-list.c
+++ b/command-list.c
@@ -277,12 +277,10 @@ CommandList *build_command_list(Options *op, Package *p)
nvfree(tmp);
/*
- * delete the temporary libGL.la and .desktop files generated
- * based on templates earlier.
+ * delete any temporary generated files
*/
- if ((p->entries[i].type == FILE_TYPE_LIBGL_LA) ||
- (p->entries[i].type == FILE_TYPE_DOT_DESKTOP)) {
+ if (p->entries[i].caps.is_temporary) {
add_command(c, DELETE_CMD,
p->entries[i].file);
}