Bug 220278 - www/rt42 not installing migration schema when doc/ is disabled
Summary: www/rt42 not installing migration schema when doc/ is disabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-26 08:07 UTC by holger
Modified: 2017-08-02 12:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description holger 2017-06-26 08:07:54 UTC
In my make.conf I disable NLS + DOC by default. After upgrading/installing I am pointed to the migration procedure (https://svnweb.freebsd.org/ports/head/www/rt42/files/pkg-message.in?revision=415503&view=markup&pathrev=443816#l41).

But executing:

/usr/local/sbin/rt-setup-database \
	     --datadir %%DOCSDIR%%/upgrade \
	     --action upgrade --prompt-for-dba-password


Will fail because the upgrade directory is within doc/ and not installed. I think the migration files should be installed unconditionally.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-08-02 12:21:50 UTC
A commit references this bug:

Author: matthew
Date: Wed Aug  2 12:21:36 UTC 2017
New revision: 447102
URL: https://svnweb.freebsd.org/changeset/ports/447102

Log:
  Install files required to update DB schema irrespective of the setting
  of the DOCS option

  PR:		220278
  Reported by:	holger@freyther.de

Changes:
  head/www/rt42/pkg-plist
Comment 2 Matthew Seaman freebsd_committer freebsd_triage 2017-08-02 12:23:14 UTC
Committed, thanks!