From a07c7863d9aa41c2009b5c1e65ff566720dc9eab Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Sun, 30 Sep 2018 11:32:50 +0000 Subject: [PATCH] run ldconfig after install --- zpm-install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zpm-install b/zpm-install index 47681d3..76a9654 100755 --- a/zpm-install +++ b/zpm-install @@ -176,6 +176,10 @@ for pkgstr in "$@"; do zpm pkg $pkgid status=installed fi + if [ $(id -u) -eq 0 ]; then + /sbin/ldconfig + fi + # TODO skip configure if not on a terminal, regardless of settings # TODO will need force option if [ $runconfigure -gt 0 ]; then -- 2.40.0