Ignore:
Timestamp:
Apr 20, 2016, 10:08:52 AM (3 years ago)
Author:
mabarracus
Message:

fixes

File:
1 edited

Legend:

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

    r1223 r1224  
    1717# for details, see https://www.debian.org/doc/debian-policy/ or
    1818# the debian-policy package
     19NOW=$(date +'%Y%m%d')
    1920setup_apache(){
    2021    if [ ! -f /usr/share/doc/apache2/examples/setup-instance ]; then
    2122        echo "ERROR: setup-instance from apache2 not found !!!"
    2223        exit 1
     24    fi
     25    if [ -d /etc/apache2-lliurex ]; then
     26        mv /etc/apache2-lliurex /etc/apache2-lliurex-${NOW}
    2327    fi
    2428    bash /usr/share/doc/apache2/examples/setup-instance lliurex
Note: See TracChangeset for help on using the changeset viewer.