]> pd.if.org Git - zpackage/commitdiff
run ldconfig after install
authorNathan Wagner <nw@hydaspes.if.org>
Sun, 30 Sep 2018 11:32:50 +0000 (11:32 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sun, 30 Sep 2018 11:32:50 +0000 (11:32 +0000)
zpm-install

index 47681d3c56d3dea0d2590fdb121a65efabc33514..76a9654bf13515d9ce5cc5a4975bd0a8e3a93206 100755 (executable)
@@ -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