source:
sandbox/2.3-MailArchiver/filemanager/tp/dompdf/lib/ttf2ufm/ttf2ufm-src/scripts/inst_file
@
6779
Revision 6779, 286 bytes checked in by rafaelraymundo, 12 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[6779] | 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.