From 953e56661aadd05ad62e3ea52299816f04fbba1e Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Thu, 15 Aug 2019 16:02:00 +0000 Subject: kiss: add post-install log message. FossilOrigin-Name: 13213a1410d18c6885305b489214786d7d6907fd77bb0343cade74b35712ec4a --- kiss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index 8f76639..db7f8dc 100755 --- a/kiss +++ b/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 -- cgit v1.2.3