Commit c5de3cdc authored by Timo Teräs's avatar Timo Teräs

db: fix post-install script error message formatting

parent 9f219e4f
...@@ -2268,8 +2268,8 @@ int apk_db_install_pkg(struct apk_database *db, ...@@ -2268,8 +2268,8 @@ int apk_db_install_pkg(struct apk_database *db,
APK_SCRIPT_POST_INSTALL : APK_SCRIPT_POST_UPGRADE, APK_SCRIPT_POST_INSTALL : APK_SCRIPT_POST_UPGRADE,
script_args); script_args);
if (r != 0) { if (r != 0) {
apk_error("%s-%s: Failed to execute post-install/upgrade script", apk_error(PKG_VER_FMT ": Failed to execute post-install/upgrade script",
newpkg->name->name, newpkg->version); PKG_VER_PRINTF(newpkg));
} }
ret_r: ret_r:
free(script_args[1]); free(script_args[1]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment