File: stacks-web.prerm

package info (click to toggle)
stacks 2.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,108 kB
  • sloc: cpp: 36,453; php: 4,059; sh: 2,122; perl: 1,163; python: 497; sql: 389; makefile: 148
file content (16 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

#DEBHELPER#

if [ "$1" = remove -o "$1" = purge ] ; then
    #Lintain complains about this, but I do not know what is actually expected
    #Manpage of a2enconf says that "a2disconf -m" is correct.
#    a2disconf -m stacks-web
    if [ -e /usr/share/apache2/apache2-maintscript-helper ]
    then
        . /usr/share/apache2/apache2-maintscript-helper
        apache2_invoke disconf stacks-web || exit
    fi
fi