aboutsummaryrefslogtreecommitdiff
path: root/www/tdiary-devel/files
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-17 13:20:23 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-17 13:20:23 +0000
commit4f033b7402a46577b8aa5079ce4170259c429fe8 (patch)
treeaa006bfa52b820501cafc72e70347c55277a820b /www/tdiary-devel/files
parent434b74fea37d6a19874c06769280aa160302e916 (diff)
Notes
Diffstat (limited to 'www/tdiary-devel/files')
-rw-r--r--www/tdiary-devel/files/tdiary-FreeBSD.sh.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/tdiary-devel/files/tdiary-FreeBSD.sh.in b/www/tdiary-devel/files/tdiary-FreeBSD.sh.in
index 77becc46560c..7b936942b22c 100644
--- a/www/tdiary-devel/files/tdiary-FreeBSD.sh.in
+++ b/www/tdiary-devel/files/tdiary-FreeBSD.sh.in
@@ -56,10 +56,12 @@ install)
# HOMEGRP=$GROUP
# HOMEDIR=$HOME
echo "HOME Directory : " ${HOMEDIR}
+ USERNAME=$USER
;;
*)
echo "HOME Directory : " ${HOMEDIR}
echo "USERNAME : " ${USERNAME}
+ USERNAME=$USER
;;
esac
@@ -88,7 +90,7 @@ if [ -x ${HOMEDIR} ]; then
echo "Copy tDiary ..." ${EXAMPLES}/tdiary/
echo " to " ${HOMEDIR}/${PUBLICHTML}/${DIARYDIR}/
cp -pR ${EXAMPLES}/tdiary/ ${HOMEDIR}/${PUBLICHTML}/${DIARYDIR}/
- chown -R ${HOMEOWN}:${HOMEGRP} ${HOMEDIR}/${PUBLICHTML}/
+ chown -R ${HOMEOWN}:${HOMEGRP} ${HOMEDIR}/${PUBLICHTML}/${DIARYDIR}/
chmod o+rwx ${HOMEDIR}/${PUBLICHTML}/${DIARYDIR}
echo "Done"
if [ -e ${HOMEDIR}/${PUBLICHTML}/${DIARYDIR}/tdiary.conf ]; then
@@ -128,6 +130,10 @@ else
exit 1
fi
echo ""
+echo ""
+echo "***"
+echo "You have to execute the following commands:"
+echo " % /usr/local/sbin/htpasswd -c" ${HOMEDIR}/.htpasswd ${USERNAME}
echo ""
echo "Be sure to read the ${HOMEDIR}/${PUBLICHTML}/${DIARYDIR}/README"
echo " file for additional information."