Be less strict about the package name suffix.

Note that we never made sure that the string in PKG_EXT
really is the final part of the filename.
This commit is contained in:
Tilman Sauerbeck 2010-05-18 19:24:17 +02:00
parent a09b143460
commit 780862a6ec

View File

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