home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 July & August / Pcwk78a98.iso / Wtestowe / Clico / UNIX / SAMBA / SOURCE / SAMBA.TAR / samba-1.9.17 / packaging / redhat / makeldirs.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1997-08-19  |  232b  |  11 lines

  1. #!/bin/sh
  2. RPMDIR=$1
  3. mkdir $RPMDIR
  4. for i in etc etc/logrotate.d bin sbin usr usr/bin usr/sbin var var/spool var/log var/lock var/lock/samba
  5. do
  6.     if [ ! -x $RPMDIR/$i ]; then
  7.         mkdir $RPMDIR/$i
  8.     fi
  9.     echo Mkdir $RPMDIR/$i ... Done
  10. done
  11.