summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-01-10 21:06:52 +0000
committerErmal <eri@pfsense.org>2011-01-10 21:06:52 +0000
commitb7ff3186fd9f455abe75806e9633146b9b039a04 (patch)
tree9602b3ee25717d763d2b4bb4c37ae8da766f668b
parent24e61ccedc015a4634f4d0ca2d38e600635325b9 (diff)
downloadpfsense-b7ff3186fd9f455abe75806e9633146b9b039a04.zip
pfsense-b7ff3186fd9f455abe75806e9633146b9b039a04.tar.gz
Ticket #875. While ldconfig should be called by pkg code itself do it explicitly to have the cache file rebuilt with correct list.
-rw-r--r--etc/inc/pkg-utils.inc5
1 files changed, 4 insertions, 1 deletions
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
+?>
OpenPOWER on IntegriCloud