diff options
author | demon <demon@FreeBSD.org> | 2003-06-21 17:30:41 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2003-06-21 17:30:41 +0800 |
commit | d5f269c05759445b8bb52e4ed70caaf41f243052 (patch) | |
tree | 2c54f5e726ade82399897f042d373f8a003d4c54 /www/rt3 | |
parent | b272442126613dfd91d6b5d26fc111499875aefb (diff) | |
download | freebsd-ports-gnome-d5f269c05759445b8bb52e4ed70caaf41f243052.tar.gz freebsd-ports-gnome-d5f269c05759445b8bb52e4ed70caaf41f243052.tar.zst freebsd-ports-gnome-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/rt3')
-rw-r--r-- | www/rt3/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/rt3/Makefile b/www/rt3/Makefile index 00b7d0462391..ec61cf61f700 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} |