updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / viewvc / viewvc.install
blob4d0b76c7162373722c6dbeba51b18846a1225286
1 # arg 1:  the new package version
2 post_install() {
3 cat << EOF
4 --> 1) Edit /usr/share/viewvc/viewvc.conf
5 --> 2) Add these lines in /etc/httpd/conf/httpd.conf in the ScriptAlias section
6         ScriptAlias /viewvc "/srv/httpd/cgi-bin/viewvc.cgi"
7         ScriptAlias /query "/srv/httpd/cgi-bin/query.cgi"
8 --> 3) restart apache
9 EOF
12 # arg 1:  the new package version
13 # arg 2:  the old package version
14 pre_upgrade() {
15   post_install $1
18 op=$1
19 shift
20 $op $*