summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/attachments/20111114/cee57a83/attachment-0001.html
blob: e9340554940f68b0379ff1fa7469b92aedb88da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 11/14/2011 11:05 AM, Aaron Mendo Andrade wrote:
    <blockquote cite="mid:BLU164-W65025FAA990DCED8540851C4C00@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        Hello, Would it be possible make that urpmi detect if&nbsp; to run
        command or a run program to detect if you don't have it and
        install it? I think it's a good idea and makes a big difference
        to both users and developers of mageia.<br>
      </div>
    </blockquote>
    I sympathize with what you want, but the fact is that urpmi is not
    involved.&nbsp; You type the non-existent program name, and the shell
    just tells you there is no such file in the $PATH.<br>
    <br>
    Of course, you could write a small script to do what the shell does
    (search your $PATH), run the program if found, or launch urpmi if
    it's not, but you'd have to always use the script from the command
    line, or change the executable in every menu entry.....<br>
  </body>
</html>