diff options
author | Ermal <eri@pfsense.org> | 2011-01-10 21:06:52 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-01-10 21:06:52 +0000 |
commit | b7ff3186fd9f455abe75806e9633146b9b039a04 (patch) | |
tree | 9602b3ee25717d763d2b4bb4c37ae8da766f668b /etc/inc/pkg-utils.inc | |
parent | 24e61ccedc015a4634f4d0ca2d38e600635325b9 (diff) | |
download | pfsense-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.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 5 |
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 +?> |