parent
ba0e2b579d
commit
33c1de8ea1
|
@ -1009,7 +1009,6 @@ static int apk_db_scriptdb_write(struct apk_database *db, struct apk_ostream *os
|
||||||
char filename[256];
|
char filename[256];
|
||||||
apk_blob_t bfn;
|
apk_blob_t bfn;
|
||||||
int r, i;
|
int r, i;
|
||||||
time_t now = time(NULL);
|
|
||||||
|
|
||||||
if (IS_ERR(os)) return PTR_ERR(os);
|
if (IS_ERR(os)) return PTR_ERR(os);
|
||||||
|
|
||||||
|
@ -1024,7 +1023,6 @@ static int apk_db_scriptdb_write(struct apk_database *db, struct apk_ostream *os
|
||||||
.name = filename,
|
.name = filename,
|
||||||
.size = ipkg->script[i].len,
|
.size = ipkg->script[i].len,
|
||||||
.mode = 0755 | S_IFREG,
|
.mode = 0755 | S_IFREG,
|
||||||
.mtime = now,
|
|
||||||
};
|
};
|
||||||
/* The scripts db expects file names in format:
|
/* The scripts db expects file names in format:
|
||||||
* pkg-version.<hexdump of package checksum>.action */
|
* pkg-version.<hexdump of package checksum>.action */
|
||||||
|
|
Loading…
Reference in New Issue