summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-26 21:55:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-26 21:55:18 +0000
commitf22ab11821badfa1f4f6108d325b5201c93bf840 (patch)
tree4714dac98c3bbab4a0e8a465a39acc65a58db65e
parentb3a4ab8c98cdcc2134ab73141279f1f6f62ab815 (diff)
downloadurpmi-f22ab11821badfa1f4f6108d325b5201c93bf840.tar
urpmi-f22ab11821badfa1f4f6108d325b5201c93bf840.tar.gz
urpmi-f22ab11821badfa1f4f6108d325b5201c93bf840.tar.bz2
urpmi-f22ab11821badfa1f4f6108d325b5201c93bf840.tar.xz
urpmi-f22ab11821badfa1f4f6108d325b5201c93bf840.zip
simplify
-rw-r--r--urpm/sys.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/urpm/sys.pm b/urpm/sys.pm
index 2d233402..295321bc 100644
--- a/urpm/sys.pm
+++ b/urpm/sys.pm
@@ -75,9 +75,8 @@ sub find_mntpoints {
if ($pdir =~ m|^/|) {
$pdir = $v;
} else {
- while ($v =~ m|^\.\./(.*)|) {
- $v = $1;
- $pdir =~ s|^(.*)/[^/]+/*|$1|;
+ while ($v =~ s!^\.\./!!) {
+ $pdir =~ s!/[^/]+/*$!!;
}
$pdir .= "/$v";
}
erl-install?h=14.33&id=feddbfbac0b2f78f8c28ecd9087d6417f11bb912&id2=e7779fa480bb92d612757898cf64cc70ae6fe50c'>diff)downloaddrakx-feddbfbac0b2f78f8c28ecd9087d6417f11bb912.tar
drakx-feddbfbac0b2f78f8c28ecd9087d6417f11bb912.tar.gz
drakx-feddbfbac0b2f78f8c28ecd9087d6417f11bb912.tar.bz2
drakx-feddbfbac0b2f78f8c28ecd9087d6417f11bb912.tar.xz
drakx-feddbfbac0b2f78f8c28ecd9087d6417f11bb912.zip
up
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/share/po/pt.po4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/share/po/pt.po b/perl-install/share/po/pt.po
index 33c7fd4c4..326014561 100644
--- a/perl-install/share/po/pt.po
+++ b/perl-install/share/po/pt.po
@@ -21,7 +21,7 @@ msgstr ""
"Project-Id-Version: pt\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-09-12 17:02+0200\n"
-"PO-Revision-Date: 2007-09-14 05:47+0100\n"
+"PO-Revision-Date: 2007-09-14 05:56+0100\n"
"Last-Translator: Zé <mmodem00@gmail.com>\n"
"Language-Team: Português <pt@li.org>\n"
"MIME-Version: 1.0\n"
@@ -2615,7 +2615,7 @@ msgstr "TODAS as partições existentes e seus dados serão perdidos no disposit
#: fs/partitioning_wizard.pm:217
#, c-format
msgid "Custom disk partitioning"
-msgstr "Particionamento de disco personalizado"
+msgstr "Particionamento personalizado do disco"
#: fs/partitioning_wizard.pm:223
#, c-format