diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-19 17:17:14 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-19 17:17:14 +0000 |
commit | 6a0e7a3824d746cb170a0f585aef6c2229c68a22 (patch) | |
tree | ce404a9fb267a0aed6c2b27c0bb12a0e5dcc80db | |
parent | 9c160f42c9c45604042d526324a6cbd4cff3d856 (diff) | |
download | urpmi-6a0e7a3824d746cb170a0f585aef6c2229c68a22.tar urpmi-6a0e7a3824d746cb170a0f585aef6c2229c68a22.tar.gz urpmi-6a0e7a3824d746cb170a0f585aef6c2229c68a22.tar.bz2 urpmi-6a0e7a3824d746cb170a0f585aef6c2229c68a22.tar.xz urpmi-6a0e7a3824d746cb170a0f585aef6c2229c68a22.zip |
*** empty log message ***
-rwxr-xr-x | urpmi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ for (@ARGV) { /^--auto$/ and do { $auto = 1; next }; /^--force$/ and do { $force = 1; next }; /^--X$/ and do { $X = 1; next }; - /^--best-output$/ and do { (($ENV{DISPLAY}) && (!system "/usr/X11R6/bin/xtest", "")) and $X = 1; next }; + /^--best-output$/ and do { $X ||= $ENV{DISPLAY} && system('/usr/X11R6/bin/xtest', '') == 0; next }; /^--comment$/ and do { push @nextargv, undef; next }; /^-(.*)$/ and do { foreach (split //, $1) { /[\?h]/ and do { usage; next }; |