1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

take care about DB_DIR when the initial database get installed

PR:		ports/54628
Submitted By:	Max Okumoto <okumoto@ucsd.edu>
Approved By:	maintainer
This commit is contained in:
Oliver Lehmann 2003-09-28 21:47:53 +00:00
parent 73ef09873d
commit fdb7a1c903
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89724
7 changed files with 14 additions and 14 deletions

View File

@ -142,9 +142,9 @@ post-install:
.endif
.if !exists(${DB_DIR}) || defined(OVERWRITE_DB)
.if defined(SKIP_DNS_CHECK)
${PREFIX}/bin/mysql_install_db --force
${PREFIX}/bin/mysql_install_db --force --ldata=${DB_DIR}
.else
${PREFIX}/bin/mysql_install_db
${PREFIX}/bin/mysql_install_db --ldata=${DB_DIR}
.endif
.endif
@${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

View File

@ -142,9 +142,9 @@ post-install:
.endif
.if !exists(${DB_DIR}) || defined(OVERWRITE_DB)
.if defined(SKIP_DNS_CHECK)
${PREFIX}/bin/mysql_install_db --force
${PREFIX}/bin/mysql_install_db --force --ldata=${DB_DIR}
.else
${PREFIX}/bin/mysql_install_db
${PREFIX}/bin/mysql_install_db --ldata=${DB_DIR}
.endif
.endif
@${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

View File

@ -142,9 +142,9 @@ post-install:
.endif
.if !exists(${DB_DIR}) || defined(OVERWRITE_DB)
.if defined(SKIP_DNS_CHECK)
${PREFIX}/bin/mysql_install_db --force
${PREFIX}/bin/mysql_install_db --force --ldata=${DB_DIR}
.else
${PREFIX}/bin/mysql_install_db
${PREFIX}/bin/mysql_install_db --ldata=${DB_DIR}
.endif
.endif
@${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

View File

@ -142,9 +142,9 @@ post-install:
.endif
.if !exists(${DB_DIR}) || defined(OVERWRITE_DB)
.if defined(SKIP_DNS_CHECK)
${PREFIX}/bin/mysql_install_db --force
${PREFIX}/bin/mysql_install_db --force --ldata=${DB_DIR}
.else
${PREFIX}/bin/mysql_install_db
${PREFIX}/bin/mysql_install_db --ldata=${DB_DIR}
.endif
.endif
@${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

View File

@ -142,9 +142,9 @@ post-install:
.endif
.if !exists(${DB_DIR}) || defined(OVERWRITE_DB)
.if defined(SKIP_DNS_CHECK)
${PREFIX}/bin/mysql_install_db --force
${PREFIX}/bin/mysql_install_db --force --ldata=${DB_DIR}
.else
${PREFIX}/bin/mysql_install_db
${PREFIX}/bin/mysql_install_db --ldata=${DB_DIR}
.endif
.endif
@${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

View File

@ -142,9 +142,9 @@ post-install:
.endif
.if !exists(${DB_DIR}) || defined(OVERWRITE_DB)
.if defined(SKIP_DNS_CHECK)
${PREFIX}/bin/mysql_install_db --force
${PREFIX}/bin/mysql_install_db --force --ldata=${DB_DIR}
.else
${PREFIX}/bin/mysql_install_db
${PREFIX}/bin/mysql_install_db --ldata=${DB_DIR}
.endif
.endif
@${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

View File

@ -142,9 +142,9 @@ post-install:
.endif
.if !exists(${DB_DIR}) || defined(OVERWRITE_DB)
.if defined(SKIP_DNS_CHECK)
${PREFIX}/bin/mysql_install_db --force
${PREFIX}/bin/mysql_install_db --force --ldata=${DB_DIR}
.else
${PREFIX}/bin/mysql_install_db
${PREFIX}/bin/mysql_install_db --ldata=${DB_DIR}
.endif
.endif
@${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL