aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-09-20 16:18:41 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-09-20 16:18:41 +0000
commit7a244e1d2bd62f87d678c754b0890fb7ac379673 (patch)
tree02e1da0ecf3e2dc783c670921167e1a8393a7370
parent1b64e411606168802ebc164a1b42c2c2bfb2d972 (diff)
downloadforums-7a244e1d2bd62f87d678c754b0890fb7ac379673.tar
forums-7a244e1d2bd62f87d678c754b0890fb7ac379673.tar.gz
forums-7a244e1d2bd62f87d678c754b0890fb7ac379673.tar.bz2
forums-7a244e1d2bd62f87d678c754b0890fb7ac379673.tar.xz
forums-7a244e1d2bd62f87d678c754b0890fb7ac379673.zip
if preserve_cr is true and the file generated no conflict but is obviously not "empty" we tag it as modified because preserve_cr is the default mode for showing modifications (else the user gets a resolvable conflict and may wonder why ;))
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10167 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/install/install_update.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index 3c16a2e82b..ab7ec35705 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -1469,6 +1469,13 @@ class install_update extends module
$update_list['up_to_date'][] = $update_ary;
return;
}
+
+ // If we preserve cr tag it as modified because the conflict would not show in this mode anyway
+ if ($preserve_cr)
+ {
+ $update_list['modified'][] = $update_ary;
+ return;
+ }
}
else
{
a1'>38284e89a80e12b6081c65eb13df9a345656a5d2 (patch) tree016a23cba56e234944b6d4b1d13fa49c670aae4d /perl-install/pkgs.pm parent49043ff35628a0d23211aefc41bdb4290f2bc0a5 (diff)downloaddrakx-38284e89a80e12b6081c65eb13df9a345656a5d2.tar
drakx-38284e89a80e12b6081c65eb13df9a345656a5d2.tar.gz
drakx-38284e89a80e12b6081c65eb13df9a345656a5d2.tar.bz2
drakx-38284e89a80e12b6081c65eb13df9a345656a5d2.tar.xz
drakx-38284e89a80e12b6081c65eb13df9a345656a5d2.zip
Fix Enlightenment (e21) recognition
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 87a47253c..fe49d8c63 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -224,7 +224,7 @@ sub detect_hardware_packages {
if_(!$do_pkgs->is_installed('task-cinnamon-minimal'), "CAT_CINNAMON"),
if_(!$do_pkgs->is_installed('task-mate-minimal'), "CAT_MATE"),
if_(!$do_pkgs->is_installed('task-xfce-minimal'), "CAT_XFCE"),
- if_(!$do_pkgs->is_installed('task-e17-minimal'), "CAT_E17"),
+ if_(!$do_pkgs->is_installed('task-enlightenment-minimal'), "CAT_ENLIGHTENMENT"),
if_(!$do_pkgs->is_installed('task-razorqt'), "CAT_RAZOR"),
);
(