source:
sandbox/2.2.0.2/filemanager/tp/dompdf/lib/ttf2ufm/ttf2ufm-src/scripts/inst_file
@
3019
Revision 3019, 286 bytes checked in by amuller, 14 years ago (diff) |
---|
Line | |
---|---|
1 | #!/bin/sh |
2 | # |
3 | # Script to install a file (for portability reasons) |
4 | # |
5 | # (c) 2000 by The TTF2PT1 Project |
6 | # See COPYRIGHT for full license |
7 | # |
8 | |
9 | [ $# != 5 ] && { |
10 | echo "Use: $0 file-from file-to owner group mode" >&2 |
11 | exit 1 |
12 | } |
13 | |
14 | cp -f $1 $2 \ |
15 | && chown $3 $2 \ |
16 | && chgrp $4 $2 \ |
17 | && chmod 0$5 $2 |
Note: See TracBrowser
for help on using the repository browser.