diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-15 16:02:00 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-15 16:02:00 +0000 |
commit | 953e56661aadd05ad62e3ea52299816f04fbba1e (patch) | |
tree | 83e53e65e958ef659721f4cc9a7a30d96f88b875 | |
parent | ea681e31a04f450c448674d39f96e08a558e4f58 (diff) | |
download | cpt-953e56661aadd05ad62e3ea52299816f04fbba1e.tar.gz |
kiss: add post-install log message.
FossilOrigin-Name: 13213a1410d18c6885305b489214786d7d6907fd77bb0343cade74b35712ec4a
-rwxr-xr-x | kiss | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |