Browse Source

hopefully will generate list files properly now

Kevin Bradley 9 months ago
parent
commit
279e789ec3
1 changed files with 5 additions and 0 deletions
  1. 5 0
      bootstrapTool/Classes/InputPackage.m

+ 5 - 0
bootstrapTool/Classes/InputPackage.m

@@ -71,6 +71,11 @@
     if (!validated) {
         fileList = [HelperClass returnForProcess:[NSString stringWithFormat:@"/usr/local/bin/dpkg-deb -c %@ | awk '{ print $6 }' | cut -c 2-" , self.path]];
     }
+    if ([fileList containsObject:@"/"]) {
+        NSMutableArray *_mutableList = [fileList mutableCopy];
+        [_mutableList removeObject:@"/"];
+        fileList = [_mutableList copy];
+    }
     return fileList;
 }