fix: don't remove local packages after install

fixes #4
This commit is contained in:
ngn 2024-08-22 00:14:13 +03:00
parent 3e3c09c6bc
commit eb7e8ed2a0
2 changed files with 6 additions and 3 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-16 06:47+0300\n"
"POT-Creation-Date: 2024-08-22 00:11+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View File

@ -384,7 +384,10 @@ end:
lm_database_files_del(ctx->db, &pkg->data);
}
if (pkg->pool != NULL){
unlink(pkg->archive);
unlink(pkg->signature);
}
return ret;
}