[mythtv-commits] Ticket #13255: mythweb Xubuntu 18.04

MythTV noreply at mythtv.org
Fri Jan 17 18:41:21 UTC 2020


#13255: mythweb Xubuntu 18.04
---------------------------------------------+-----------------------------
 Reporter:  Mike Bibbings <mike.bibbings@…>  |          Owner:  David
                                             |  Hampton
     Type:  Bug Report - General             |         Status:  assigned
 Priority:  minor                            |      Milestone:
                                             |  needs_triage
Component:  Packaging                        |        Version:  v29-fixes
 Severity:  low                              |     Resolution:
 Keywords:  mythweb                          |  Ticket locked:  0
---------------------------------------------+-----------------------------

Comment (by Bill Meek):

 I'm looking at a solution that keeps the previous work done
 by Mario Limonciello, this is just '''one''' of the changes:
 {{{
 diff --git a/deb/debian/mythweb.postinst b/deb/debian/mythweb.postinst
 index c015132..d5ba898 100755
 --- a/deb/debian/mythweb.postinst
 +++ b/deb/debian/mythweb.postinst
 @@ -214,8 +214,9 @@
 s/^.*\(setenv\sdb_password\s\+\"\).*\"/\t\1$mythtv_password\"/g;
              reload_apache

              #migrate to php7 if need be
 +            CURRENT_PHP_VERSION=$(php -r 'echo PHP_MAJOR_VERSION,".",
 PHP_MINOR_VERSION;')
              if [ -f /etc/php5/apache2/conf.d/20-mythweb.conf ] && \
 -               [ -d /etc/php/7.0/apache2/conf.d ]; then
 +               [ -d /etc/php/${CURRENT_PHP_VERSION}/apache2/conf.d ];
 then
                      mv_conffile /etc/php5/apache2/conf.d/20-mythweb.ini
 /etc/php/7.0/apache2/conf.d/20-mythweb.ini
 2:0.28.0+fixes.20160325.2520617-0ubuntu3~
              fi
          fi
 }}}
 It's not clear why the old code relies on
 /etc/php5/apache2/conf.d/20-mythweb.ini.

 Dave, I'll take the ticket if you like.

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13255#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list