|
|
1.1 root 1: cmd=/bin/mv
2: case $1 in
3: -s ) /usr/bin/strip $2
4: shift
5: ;;
6: -c ) cmd=cp
7: shift
8: esac
9:
10: if [ ! ${2-""} ]
11: then echo 'install: no destination specified.'
12: exit 1
13: fi
14:
15: if [ -d $2 ]
16: then file=$2/$1
17: else file=$2
18: fi
19: rm -f $file
20: $cmd $1 $file
21: chmod o-w,g+w $file
22: if [ "`getuid`" = root ]
23: then chgrp bin $file
24: chown bin $file
25: fi
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.