Changeset 1223


Ignore:
Timestamp:
Apr 20, 2016, 8:27:15 AM (3 years ago)
Author:
mabarracus
Message:

Fixes postinst

Location:
php5-lliurex-compat/fuentes/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • php5-lliurex-compat/fuentes/debian/changelog

    r1222 r1223  
     1php5-lliurex-compat (0.2) xenial; urgency=medium
     2
     3  * Fixes
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Wed, 20 Apr 2016 08:23:45 +0200
     6
    17php5-lliurex-compat (0.1) xenial; urgency=medium
    28
  • php5-lliurex-compat/fuentes/debian/postinst

    r1221 r1223  
    1717# for details, see https://www.debian.org/doc/debian-policy/ or
    1818# the debian-policy package
    19 function setup_apache(){
     19setup_apache(){
    2020    if [ ! -f /usr/share/doc/apache2/examples/setup-instance ]; then
    2121        echo "ERROR: setup-instance from apache2 not found !!!"
    2222        exit 1
    2323    fi
    24     /usr/share/doc/apache2/examples/setup-instance lliurex
     24    bash /usr/share/doc/apache2/examples/setup-instance lliurex
    2525}
    26 function change_ports(){
     26change_ports(){
    2727    if [ ! -d /etc/apache2-lliurex ]; then
    2828        echo "ERROR: /etc/apache2-lliurex not found !!!"
     
    3636    done;
    3737}
    38 function fix_mods(){
    39     a2dismod-lliurex php7.0 || true
    40     a2dismod php5 || true
     38fix_mods(){
     39    /usr/sbin/a2dismod-lliurex php7.0 || true
     40    /usr/sbin/a2dismod php5 || true
    4141    if [ -f /etc/apache2-lliurex/mods-available/php7.0.conf ]; then
    4242        mv /etc/apache2-lliurex/mods-available/php7.0.conf /etc/apache2-lliurex/mods-available/php7.0.conf.disabled
Note: See TracChangeset for help on using the changeset viewer.