summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-01-06 16:39:12 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-01-06 16:39:12 -0500
commit550fea7a19a8bba289e7a221389da534f5df4c5d (patch)
treed850f1af602fc7bb6f2d730c677a2d120f622aa8 /etc/inc/pkg-utils.inc
parent7aa9ab00ab42f2d386829d2592cb910557ebf899 (diff)
downloadpfsense-550fea7a19a8bba289e7a221389da534f5df4c5d.zip
pfsense-550fea7a19a8bba289e7a221389da534f5df4c5d.tar.gz
Do not unlink file, it's handled by behind the scenes pkg-utils.inc code
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 0f3e2e5..b36dd59 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -814,7 +814,6 @@ function delete_package($pkg) {
$pkg = substr(reverse_strrchr($pkg, "."), 0, -1);
-
if (file_exists("{$vardb}/{$pkg}/+REQUIRED_BY") && count(file("{$vardb}/{$pkg}/+REQUIRED_BY")) > 0) {
$static_output .= "Skipping package deletion for {$pkg} because it is required by other packages.\n";
update_output_window($static_output);
OpenPOWER on IntegriCloud