=================================================================== RCS file: /cvs/openbsd/sxxu/Attic/sxxu,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- openbsd/sxxu/Attic/sxxu 2010/04/20 18:38:00 1.28 +++ openbsd/sxxu/Attic/sxxu 2010/04/20 23:57:08 1.29 @@ -1,6 +1,6 @@ #!/bin/ksh - # -# $Id: sxxu,v 1.28 2010/04/20 17:38:00 andrew Exp $ +# $Id: sxxu,v 1.29 2010/04/20 22:57:08 andrew Exp $ # # Copyright (c) 2010 Andrew Fresh # @@ -98,12 +98,12 @@ if [ -z "$NORECURSE" ]; then if [ -e "${CONFIG_FILE}" ]; then echo -n ' siteXXrc' - cp ${CONFIG_FILE} "$WRKINST/var/siteXX/siteXXrc" + install -m 644 ${CONFIG_FILE} "$WRKINST/var/siteXX/siteXXrc" fi if [ -e "${INSTALL_SITE}" ]; then echo -n ' install.site' - cp ${INSTALL_SITE} "$WRKINST/install.site" + install -m 555 "${INSTALL_SITE}" "${WRKINST}/install.site" fi if [ X"${_machine}" != X"${COMMONDIR}" \