From b7ff3186fd9f455abe75806e9633146b9b039a04 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 10 Jan 2011 21:06:52 +0000 Subject: Ticket #875. While ldconfig should be called by pkg code itself do it explicitly to have the cache file rebuilt with correct list. --- etc/inc/pkg-utils.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index c789afe..411ff7d 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -860,6 +860,9 @@ function delete_package($pkg) { delete_package($depend); } + /* Rescan directories for what has been left and avoid fooling other programs. */ + mwexec("/sbin/ldconfig"); + return; } @@ -1141,4 +1144,4 @@ function pkg_reinstall_all() { } } -?> \ No newline at end of file +?> -- cgit v1.1