Lines Matching refs:direct
92 direct=$2
110 direct=$2
231 if test -f $direct/$FILE -o -f $direct/$FILE/$FILE
234 -c) echo "install: $FILE already exists in $direct"
236 -f) GRP=`ls -l $direct/$FILE | awk '{print $4}'`
237 OWN=`ls -l $direct/$FILE | awk '{print $3}'`
240 mv -f $direct/$FILE $direct/OLD$FILE
241 cp $direct/OLD$FILE $direct/$FILE
244 $ECHO "$FILE moved to $direct/OLD$FILE"
246 echo "install: mv $direct/OLD$FILE $direct/$FILE failed"
250 if cp $FILEP $direct/$FILE
252 chgrp $GRP $direct/$FILE
253 chown $OWN $direct/$FILE
257 chgrp $GROUP $direct/$FILE
261 chmod $MODE $direct/$FILE
265 chown $OWNER $direct/$FILE
268 $ECHO "$FILEP installed as $direct/$FILE"
270 echo "install: cp $FILEP $direct/$FILE failed "
276 cp $FILEP $direct/$FILE
279 $ECHO "$FILEP installed as $direct/$FILE"
280 chgrp $GROUP $direct/$FILE
281 chown $OWNER $direct/$FILE
282 chmod $MODE $direct/$FILE
284 echo "install: cp $FILEP $direct/$FILE failed "
337 echo "install: cp $direct/OLD$FILE $direct/$FILE failed"