File: config

package info (click to toggle)
phpsysinfo 3.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,900 kB
  • sloc: javascript: 22,511; php: 20,651; xml: 18,293; sh: 196; python: 58; makefile: 12
file content (25 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

# Package maintainer's commands follow:
db_version 2.0
db_input high phpsysinfo/reconfigure-webserver || true
db_go || true

db_get phpsysinfo/reconfigure-webserver || true
webservers="$RET"

for webserver in $webservers; do
        webserver=${webserver%,}
        if [ "$webserver" = "nginx" ]; then
                db_input high phpsysinfo/nginx-choice || true
                db_go || true
        fi
done

# End of package maintainer's commands

exit 0