ObjFW  Diff

Differences From Artifact [6f8333dc2e]:

To Artifact [e196e4c527]:


559
560
561
562
563
564
565
566


567
568
569
570
571
572
573
559
560
561
562
563
564
565

566
567
568
569
570
571
572
573
574







-
+
+







		/* This one has to be first for obvious reasons */
		if ([path hasSuffix: @".tar.gz"] || [path hasSuffix: @".tgz"] ||
		    [path hasSuffix: @".TAR.GZ"] || [path hasSuffix: @".TGZ"])
			type = @"tgz";
		else if ([path hasSuffix: @".gz"] || [path hasSuffix: @".GZ"])
			type = @"gz";
		else if ([path hasSuffix: @".lha"] ||
		    [path hasSuffix: @".lzh"] || [path hasSuffix: @".lzs"])
		    [path hasSuffix: @".lzh"] || [path hasSuffix: @".lzs"] ||
		    [path hasSuffix: @".pma"])
			type = @"lha";
		else if ([path hasSuffix: @".tar"] || [path hasSuffix: @".TAR"])
			type = @"tar";
		else
			type = @"zip";
	}