mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 16:40:07 -07:00
kiss: add post-install log message.
This commit is contained in:
parent
b450428b80
commit
0c0bd36bf1
5
kiss
5
kiss
@ -763,7 +763,10 @@ pkg_install() {
|
||||
|
||||
# Run the post install script and suppress errors. If it exists,
|
||||
# it will run, else nothing will happen.
|
||||
"$KISS_ROOT/$pkg_db/$pkg_name/post-install" 2>/dev/null ||:
|
||||
[ -x "$KISS_ROOT/$pkg_db/$pkg_name/post-install" ] && {
|
||||
log "[$pkg_name]: Running post-install script..."
|
||||
"$KISS_ROOT/$pkg_db/$pkg_name/post-install" 2>/dev/null ||:
|
||||
}
|
||||
|
||||
log "[$pkg_name]: Installed successfully."
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user