Loading...
 
Skip to main content

setup.php first default value contradicts message just above it

Status
Closed
Subject
setup.php first default value contradicts message just above it
Version
12.x
Category
  • Usability
Feature
Console / Command Line
Resolution status
Fixed or Solved
Submitted by
Jean-Marc Libs
Volunteered to solve
Jean-Marc Libs
Lastmod by
Jean-Marc Libs
Rating
(0)
Description

When running
sh setup.sh
on a fresh install, it shows the following message:
«Composer: If you are installing via a released Tiki package (zip, tar.gz, tar.bz2, 7z), you can and should skip using Composer. If you are installing and upgrading via SVN, you need to run Composer after 'svn checkout' and 'svn upgrade'. More info at https://dev.tiki.org/Composer»Question

But the first default is always c (Composer). This is only correct when one installs from an svn checkout.

When installing from tar, zip or other archives, the first default value should be f (fix permissions)

Solution

Test for presence of a ".svn" directory.
If none, default value is 'f' (fix permissions)

Fixed in revision 49798

Importance
3
Easy to solve?
10 easy
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5136
Created
Sunday 09 February, 2014 22:01:16 UTC
by Jean-Marc Libs
LastModif
Sunday 09 February, 2014 22:54:56 UTC


Show PHP error messages