~ubuntu-branches/ubuntu/trusty/moodle/trusty

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-01-21 13:40:52 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20140121134052-ym2qvsp2cd9vq0p6
Tags: 2.5.4-1
* New upstream release, fixing security issues:
  - MSA-14-0001 Config passwords visibility issue [CVE-2014-0008]
  - MSA-14-0002 Group constraints lacking in "login as" [CVE-2014-0009]
  - MSA-14-0003 CSRF vulnerability in profile fields [CVE-2014-0010]
* Move /var/lib/moodle directory into package.
* Revert back to bundled yui3. Unfortunately, version in Debian and
  of upstream are not compatible (closes: #735312).

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
        ln -s $cfile $moodledir/config.php
221
221
#        fi
222
222
 
223
 
        repository=/var/lib/moodle
224
 
        if [ -d $repository ]; then
225
 
            chown -R www-data:www-data $repository
226
 
            chmod 0750 $repository
227
 
        fi
228
 
 
229
223
        if [ "$dbc_dbtype" = "mysql" ] && check_php5mysql_notinstalled ; then
230
224
                echo 'Error - You have specified that you wish to use a mysql' >&2
231
225
                echo 'database, but php5-mysql is not installed. You must install' >&2