aboutsummaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-10-19 01:45:29 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-10-19 01:45:29 +0000
commit581d914bd43edbb7cfa8a6a339a4562c9a670839 (patch)
tree5d101da967c63340da208dd5f98e0320f5864fd3 /net/samba
parent05abcbf24285e94cf9eaec451ed44e8a1d7fcbda (diff)
downloadports-581d914bd43edbb7cfa8a6a339a4562c9a670839.tar.gz
ports-581d914bd43edbb7cfa8a6a339a4562c9a670839.zip
Notes
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 0b2cbb44a70f..5fb0ba0b10ca 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -279,7 +279,7 @@ post-install:
${ECHO_CMD} "@exec ${CAT} /etc/passwd | ${GREP} -v "^#" | ${PREFIX}/bin/make_smbpasswd > ${SAMBA_PRIVATE}/smbpasswd.default" | ${SED_PLIST} >> ${TMPPLIST}
${ECHO_CMD} "@exec ${TEST} -e ${SAMBA_PRIVATE}/smbpasswd || ${CP} -p ${SAMBA_PRIVATE}/smbpasswd.default ${SAMBA_PRIVATE}/smbpasswd" | ${SED_PLIST} >> ${TMPPLIST}
${ECHO_CMD} "@exec ${CHMOD} 600 ${SAMBA_PRIVATE}/smbpasswd*" | ${SED_PLIST} >> ${TMPPLIST}
- ${ECHO_CMD} "@unexec /usr/bin/cmp -s ${SAMBA_PRIVATE}/smbpasswd ${SAMBA_PRIVATE}/smbpasswd.default && ${RM} -f ${SAMBA_PRIVATE}/smbpasswd ${SAMBA_PRIVATE}/secrets.tdb || ${TRUE}" | ${SED_PLIST} >> ${TMPPLIST}
+ ${ECHO_CMD} "@unexec /usr/bin/cmp -s ${SAMBA_PRIVATE}/smbpasswd ${SAMBA_PRIVATE}/smbpasswd.default && ${RM} -f ${SAMBA_PRIVATE}/smbpasswd || ${TRUE}" | ${SED_PLIST} >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RM} -f ${SAMBA_PRIVATE}/smbpasswd.default" | ${SED_PLIST} >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} ${SAMBA_PRIVATE} || (${ECHO_CMD} \"Warning: If you will *NOT* use this package anymore,\" && ${ECHO_CMD} \" please remove ${SAMBA_PRIVATE} and its contents manually.\")" | ${SED_PLIST} >> ${TMPPLIST}