summaryrefslogtreecommitdiff
path: root/pcr/gitweb/gitweb.install
blob: c7eb0af2ade77214b0a965cabe4f5b44cb29cba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
  cat << EOF
==> To run GitWeb, you must add the lines in "/etc/httpd/conf/httpd.conf":
==> "# GitWeb"
==> "Include /etc/httpd/conf/extra/httpd-gitweb.conf"
==> Then restart or run the Apache server:
==> "systemctl restart httpd" 
==> or
==> "systemctl start httpd" and "systemctl enable httpd"
EOF
}

post_remove() {
  cat << EOF
==> To clean Apache server, remove the lines in /etc/httpd/conf/httpd.conf:
==> "# GitWeb"
==> "Include /etc/httpd/conf/extra/httpd-gitweb.conf"
==> Then restart or stop the Apache server:
==> "systemctl restart httpd"
==> or
==> "systemctl stop httpd" and "systemctl disable httpd"
EOF
}