Ignore:
Timestamp:
Mar 18, 2018, 12:03:56 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Changed name of the project in deb package to isp-central.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/deb/debian/postinst

    r850 r853  
    11#!/bin/sh
    2 # postinst script for centrala
     2# postinst script for isp-central
    33
    44apache_install() {
    55        mkdir -p /etc/apache2/conf-available
    6         ln -sf ../../centrala/apache.conf /etc/apache2/conf-available/centrala.conf
     6        ln -sf ../../isp-central/apache.conf /etc/apache2/conf-available/isp-central.conf
    77       
    88        COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true)
     
    1010        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
    1111                . /usr/share/apache2/apache2-maintscript-helper
    12                 apache2_invoke enconf centrala
     12                apache2_invoke enconf isp-central
    1313        elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then
    14                 [ -d /etc/apache2/conf.d/ ] && [ ! -L /etc/apache2/conf.d/centrala.conf ] && ln -s ../conf-available/centrala.conf /etc/apache2/conf.d/centrala.conf
     14                [ -d /etc/apache2/conf.d/ ] && [ ! -L /etc/apache2/conf.d/isp-central.conf ] && ln -s ../conf-available/isp-central.conf /etc/apache2/conf.d/isp-central.conf
    1515        fi
    1616}
Note: See TracChangeset for help on using the changeset viewer.