OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 # | 2 # |
3 # install - install a program, script, or datafile | 3 # install - install a program, script, or datafile |
4 # This comes from X11R5 (mit/util/scripts/install.sh). | 4 # This comes from X11R5 (mit/util/scripts/install.sh). |
5 # | 5 # |
6 # Copyright 1991 by the Massachusetts Institute of Technology | 6 # Copyright 1991 by the Massachusetts Institute of Technology |
7 # | 7 # |
8 # Permission to use, copy, modify, distribute, and sell this software and its | 8 # Permission to use, copy, modify, distribute, and sell this software and its |
9 # documentation for any purpose is hereby granted without fee, provided that | 9 # documentation for any purpose is hereby granted without fee, provided that |
10 # the above copyright notice appear in all copies and that both that | 10 # the above copyright notice appear in all copies and that both that |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 242 |
243 # Now rename the file to the real destination. | 243 # Now rename the file to the real destination. |
244 | 244 |
245 $doit $rmcmd -f $dstdir/$dstfile && | 245 $doit $rmcmd -f $dstdir/$dstfile && |
246 $doit $mvcmd $dsttmp $dstdir/$dstfile | 246 $doit $mvcmd $dsttmp $dstdir/$dstfile |
247 | 247 |
248 fi && | 248 fi && |
249 | 249 |
250 | 250 |
251 exit 0 | 251 exit 0 |
OLD | NEW |