diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-08-08 13:03:21 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-08-08 13:03:21 -0300 |
commit | 66ffe632f3158e1359fd123653f87486b99b1fb0 (patch) | |
tree | 24f9b6af0d8726137dd108ec1cbff698030831c4 /pcr/gitweb/gitweb.install | |
parent | 7da961024443f84ef94db900aa366127deb6f4fe (diff) |
gitweb: add package to git repo
Diffstat (limited to 'pcr/gitweb/gitweb.install')
-rw-r--r-- | pcr/gitweb/gitweb.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/gitweb/gitweb.install b/pcr/gitweb/gitweb.install new file mode 100644 index 000000000..c7eb0af2a --- /dev/null +++ b/pcr/gitweb/gitweb.install @@ -0,0 +1,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 +} |