cd  command  &&

if  [  "${DAEMONTOOLS_INSTALL_PATHS}"  ==  "fhs"  ];  then
  /usr/bin/install  -d      "/etc/service"                                    &&
  /usr/bin/install  -m 755  `cat ../package/commands` "${INSTALL_ROOT}/sbin"
else
  /usr/bin/install  -d      "/service"                 &&
  /usr/bin/install  -d      "${INSTALL_ROOT}/command"  &&
  /usr/bin/install  -m 755  `cat ../package/commands`  \
                            "${INSTALL_ROOT}/command"  &&
  if  [  "${DAEMONTOOLS_SYMLINKS}"  ==  "y"  ];  then
    while read i;  do
      ln  -sf  /command/$i  /usr/local/bin/$i
    done  <../package/commands
  fi
fi  &&

cd  ..
