summaryrefslogtreecommitdiffstats
path: root/rurpmi
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-08 18:52:17 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-08 18:52:17 +0000
commitd976891fe38a82a8aa6e0fb6a5c5bb40bab1a18e (patch)
treece78696ac34e280e8393b381cdd87955d8ee4775 /rurpmi
parent1734ec1d100bcc65a7e80c0c93285738365a9ae8 (diff)
downloadurpmi-d976891fe38a82a8aa6e0fb6a5c5bb40bab1a18e.tar
urpmi-d976891fe38a82a8aa6e0fb6a5c5bb40bab1a18e.tar.gz
urpmi-d976891fe38a82a8aa6e0fb6a5c5bb40bab1a18e.tar.bz2
urpmi-d976891fe38a82a8aa6e0fb6a5c5bb40bab1a18e.tar.xz
urpmi-d976891fe38a82a8aa6e0fb6a5c5bb40bab1a18e.zip
drop /usr/X11R6/bin from $PATH
Diffstat (limited to 'rurpmi')
-rw-r--r--rurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/rurpmi b/rurpmi
index 70c8d974..204423ed 100644
--- a/rurpmi
+++ b/rurpmi
@@ -12,7 +12,7 @@ if ($< != 0) {
exit 1;
}
-$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin";
+$ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin";
delete @ENV{qw(ENV BASH_ENV HOME IFS CDPATH PERLLIB PERL5LIB PERL5OPT PERLIO PERLIO_DEBUG PERL5DB PERL_ENCODING PERL_HASH_SEED PERL_SIGNALS PERL_UNICODE RPM_CONFIGDIR)};
print STDERR N("Running urpmi in restricted mode..."), "\n";