Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
apk-tools
Commits
c5de3cdc
Commit
c5de3cdc
authored
May 23, 2011
by
Timo Teräs
Browse files
db: fix post-install script error message formatting
parent
9f219e4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/database.c
View file @
c5de3cdc
...
...
@@ -2268,8 +2268,8 @@ int apk_db_install_pkg(struct apk_database *db,
APK_SCRIPT_POST_INSTALL
:
APK_SCRIPT_POST_UPGRADE
,
script_args
);
if
(
r
!=
0
)
{
apk_error
(
"%s-%s
: Failed to execute post-install/upgrade script"
,
newpkg
->
name
->
name
,
newpkg
->
version
);
apk_error
(
PKG_VER_FMT
"
: Failed to execute post-install/upgrade script"
,
PKG_VER_PRINTF
(
newpkg
)
);
}
ret_r:
free
(
script_args
[
1
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment