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:
parent
73ef09873d
commit
fdb7a1c903
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89724
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user