summaryrefslogtreecommitdiffstats
path: root/gurpmi
blob: d521a153356b140ac8751c7a461c14bfa1ed9b55 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/perl

$ENV{XAUTHORITY} or $ENV{XAUTHORITY} = "$ENV{HOME}/.Xauthority";

$urpmi = 'urpmi';
if (-f $urpmi) { $urpmi = './urpmi' }

exec $urpmi, "--X", @ARGV
    or die "Can't exec urpmi: $!\n";