From 66ffe632f3158e1359fd123653f87486b99b1fb0 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Thu, 8 Aug 2013 13:03:21 -0300 Subject: gitweb: add package to git repo --- pcr/gitweb/gitweb.install | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pcr/gitweb/gitweb.install (limited to 'pcr/gitweb/gitweb.install') 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 +} -- cgit v1.2.3-54-g00ecf