CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Be less strict about the package name suffix.
authorTilman Sauerbeck <tilman@crux.nu>
Tue, 18 May 2010 17:24:17 +0000 (19:24 +0200)
committerTilman Sauerbeck <tilman@crux.nu>
Tue, 18 May 2010 17:24:17 +0000 (19:24 +0200)
Note that we never made sure that the string in PKG_EXT
really is the final part of the filename.

pkgutil.h

index 30b41f84e35213ad2edc81164105833b682cdfb8..480c25d81af1b9d493255ce152ebd179f26e8868 100644 (file)
--- a/pkgutil.h
+++ b/pkgutil.h
@@ -33,7 +33,7 @@
 #include <sys/types.h>
 #include <dirent.h>
 
-#define PKG_EXT         ".pkg.tar.gz"
+#define PKG_EXT         ".pkg.tar."
 #define PKG_DIR         "var/lib/pkg"
 #define PKG_DB          "var/lib/pkg/db"
 #define PKG_REJECTED    "var/lib/pkg/rejected"