aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2003-06-21 17:30:41 +0800
committerdemon <demon@FreeBSD.org>2003-06-21 17:30:41 +0800
commitd5f269c05759445b8bb52e4ed70caaf41f243052 (patch)
tree2c54f5e726ade82399897f042d373f8a003d4c54 /www
parentb272442126613dfd91d6b5d26fc111499875aefb (diff)
downloadfreebsd-ports-graphics-d5f269c05759445b8bb52e4ed70caaf41f243052.tar.gz
freebsd-ports-graphics-d5f269c05759445b8bb52e4ed70caaf41f243052.tar.zst
freebsd-ports-graphics-d5f269c05759445b8bb52e4ed70caaf41f243052.zip
Without options, assume it is an upgrade and do not re-initialize DB.
Provide INITIAL_INSTALL knob for that. Approved by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/rt3/Makefile4
-rw-r--r--www/rt32/Makefile4
-rw-r--r--www/rt34/Makefile4
-rw-r--r--www/rt36/Makefile4
4 files changed, 8 insertions, 8 deletions
diff --git a/www/rt3/Makefile b/www/rt3/Makefile
index 00b7d046239..ec61cf61f70 100644
--- a/www/rt3/Makefile
+++ b/www/rt3/Makefile
@@ -122,7 +122,7 @@ pre-fetch:
@${ECHO} " DB_DBA_PASSWORD=password Password of database administrator"
@${ECHO} " WITH_FASTCGI Use FastCGI instead of mod_perl"
@${ECHO} " WITH_APACHE2 Use Apache2 as the web server"
- @${ECHO} " UPGRADE Upgrade only, don't initialize DB"
+ @${ECHO} " INITIAL_INSTALL Do initialize DB (for initial install only)"
@${ECHO} ""
pre-install:
@@ -132,7 +132,7 @@ pre-install:
post-install:
@${INSTALL_DATA} ${WRKSRC}/README ${RT_PATH}/README
@${INSTALL_SCRIPT} ${FILESDIR}/ap2mp2-fix.pl ${RT_PATH}/bin
-.if defined(UPGRADE)
+.if !defined(INITIAL_INSTALL)
@echo Upgrade of RT3 complete.
.else
-@${PERL} $(RT_PATH)/sbin/rt-setup-database --force --action drop --dba ${DB_DBA_USER} --dba-password ${DB_DBA_PASSWORD}
diff --git a/www/rt32/Makefile b/www/rt32/Makefile
index 00b7d046239..ec61cf61f70 100644
--- a/www/rt32/Makefile
+++ b/www/rt32/Makefile
@@ -122,7 +122,7 @@ pre-fetch:
@${ECHO} " DB_DBA_PASSWORD=password Password of database administrator"
@${ECHO} " WITH_FASTCGI Use FastCGI instead of mod_perl"
@${ECHO} " WITH_APACHE2 Use Apache2 as the web server"
- @${ECHO} " UPGRADE Upgrade only, don't initialize DB"
+ @${ECHO} " INITIAL_INSTALL Do initialize DB (for initial install only)"
@${ECHO} ""
pre-install:
@@ -132,7 +132,7 @@ pre-install:
post-install:
@${INSTALL_DATA} ${WRKSRC}/README ${RT_PATH}/README
@${INSTALL_SCRIPT} ${FILESDIR}/ap2mp2-fix.pl ${RT_PATH}/bin
-.if defined(UPGRADE)
+.if !defined(INITIAL_INSTALL)
@echo Upgrade of RT3 complete.
.else
-@${PERL} $(RT_PATH)/sbin/rt-setup-database --force --action drop --dba ${DB_DBA_USER} --dba-password ${DB_DBA_PASSWORD}
diff --git a/www/rt34/Makefile b/www/rt34/Makefile
index 00b7d046239..ec61cf61f70 100644
--- a/www/rt34/Makefile
+++ b/www/rt34/Makefile
@@ -122,7 +122,7 @@ pre-fetch:
@${ECHO} " DB_DBA_PASSWORD=password Password of database administrator"
@${ECHO} " WITH_FASTCGI Use FastCGI instead of mod_perl"
@${ECHO} " WITH_APACHE2 Use Apache2 as the web server"
- @${ECHO} " UPGRADE Upgrade only, don't initialize DB"
+ @${ECHO} " INITIAL_INSTALL Do initialize DB (for initial install only)"
@${ECHO} ""
pre-install:
@@ -132,7 +132,7 @@ pre-install:
post-install:
@${INSTALL_DATA} ${WRKSRC}/README ${RT_PATH}/README
@${INSTALL_SCRIPT} ${FILESDIR}/ap2mp2-fix.pl ${RT_PATH}/bin
-.if defined(UPGRADE)
+.if !defined(INITIAL_INSTALL)
@echo Upgrade of RT3 complete.
.else
-@${PERL} $(RT_PATH)/sbin/rt-setup-database --force --action drop --dba ${DB_DBA_USER} --dba-password ${DB_DBA_PASSWORD}
diff --git a/www/rt36/Makefile b/www/rt36/Makefile
index 00b7d046239..ec61cf61f70 100644
--- a/www/rt36/Makefile
+++ b/www/rt36/Makefile
@@ -122,7 +122,7 @@ pre-fetch:
@${ECHO} " DB_DBA_PASSWORD=password Password of database administrator"
@${ECHO} " WITH_FASTCGI Use FastCGI instead of mod_perl"
@${ECHO} " WITH_APACHE2 Use Apache2 as the web server"
- @${ECHO} " UPGRADE Upgrade only, don't initialize DB"
+ @${ECHO} " INITIAL_INSTALL Do initialize DB (for initial install only)"
@${ECHO} ""
pre-install:
@@ -132,7 +132,7 @@ pre-install:
post-install:
@${INSTALL_DATA} ${WRKSRC}/README ${RT_PATH}/README
@${INSTALL_SCRIPT} ${FILESDIR}/ap2mp2-fix.pl ${RT_PATH}/bin
-.if defined(UPGRADE)
+.if !defined(INITIAL_INSTALL)
@echo Upgrade of RT3 complete.
.else
-@${PERL} $(RT_PATH)/sbin/rt-setup-database --force --action drop --dba ${DB_DBA_USER} --dba-password ${DB_DBA_PASSWORD}
:42 +0800'>2003-11-099-0/+114