fdf9714070e4ccf45da0e7c1d868d6ed76e630d1
[freeside.git] / install / rpm / freeside-1.5.7.build.patch
1 diff -Naur freeside-1.5.7.orig/FS/bin/freeside-deloutsource freeside-1.5.7/FS/bin/freeside-deloutsource
2 --- freeside-1.5.7.orig/FS/bin/freeside-deloutsource    2002-09-20 11:47:58.000000000 -0400
3 +++ freeside-1.5.7/FS/bin/freeside-deloutsource 2005-08-27 17:59:05.000000000 -0400
4 @@ -3,9 +3,9 @@
5  domain=$1
6  
7  dropdb $domain && \
8 -rm -rf /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \
9 -rm -rf /usr/local/etc/freeside/counters.DBI:Pg:host=localhost\;dbname=$domain && \
10 -rm -rf /usr/local/etc/freeside/cache.DBI:Pg:host=localhost\;dbname=$domain && \
11 -rm -rf /usr/local/etc/freeside/export.DBI:Pg:host=localhost\;dbname=$domain && \
12 -rm /usr/local/etc/freeside/dbdef.DBI:Pg:host=localhost\;dbname=$domain
13 +rm -rf /usr/local/etc/freeside/conf.DBI:Pg:dbname=$domain && \
14 +rm -rf /usr/local/etc/freeside/counters.DBI:Pg:dbname=$domain && \
15 +rm -rf /usr/local/etc/freeside/cache.DBI:Pg:dbname=$domain && \
16 +rm -rf /usr/local/etc/freeside/export.DBI:Pg:dbname=$domain && \
17 +rm /usr/local/etc/freeside/dbdef.DBI:Pg:dbname=$domain
18  
19 diff -Naur freeside-1.5.7.orig/Makefile freeside-1.5.7/Makefile
20 --- freeside-1.5.7.orig/Makefile        2005-07-11 09:01:16.000000000 -0400
21 +++ freeside-1.5.7/Makefile     2005-08-30 22:04:10.320868163 -0400
22 @@ -136,8 +136,12 @@
23         [ -e ./httemplate/docs/man ] || mkdir httemplate/docs/man
24         [ -e ./httemplate/docs/man/bin ] || mkdir httemplate/docs/man/bin
25         [ -e ./httemplate/docs/man/FS ] || mkdir httemplate/docs/man/FS
26 +       [ -e ./httemplate/docs/man/FS/ClientAPI ] || mkdir httemplate/docs/man/FS/ClientAPI
27 +       [ -e ./httemplate/docs/man/FS/Report ] || mkdir httemplate/docs/man/FS/Report
28 +       [ -e ./httemplate/docs/man/FS/TicketSystem ] || mkdir httemplate/docs/man/FS/TicketSystem
29         [ -e ./httemplate/docs/man/FS/UI ] || mkdir httemplate/docs/man/FS/UI
30         [ -e ./httemplate/docs/man/FS/part_export ] || mkdir httemplate/docs/man/FS/part_export
31 +       [ -e ./httemplate/docs/man/FS/part_pkg ] || mkdir httemplate/docs/man/FS/part_pkg
32         chmod a+rx bin/pod2x
33         [ -e DONT_REBUILD_DOCS ] || bin/pod2x
34  
35 @@ -145,8 +149,12 @@
36         [ -e ./httemplate/docs/man ] || mkdir httemplate/docs/man
37         [ -e ./httemplate/docs/man/bin ] || mkdir httemplate/docs/man/bin
38         [ -e ./httemplate/docs/man/FS ] || mkdir httemplate/docs/man/FS
39 +       [ -e ./httemplate/docs/man/FS/ClientAPI ] || mkdir httemplate/docs/man/FS/ClientAPI
40 +       [ -e ./httemplate/docs/man/FS/Report ] || mkdir httemplate/docs/man/FS/Report
41 +       [ -e ./httemplate/docs/man/FS/TicketSystem ] || mkdir httemplate/docs/man/FS/TicketSystem
42         [ -e ./httemplate/docs/man/FS/UI ] || mkdir httemplate/docs/man/FS/UI
43         [ -e ./httemplate/docs/man/FS/part_export ] || mkdir httemplate/docs/man/FS/part_export
44 +       [ -e ./httemplate/docs/man/FS/part_pkg ] || mkdir httemplate/docs/man/FS/part_pkg
45         bin/pod2x
46  
47  install-docs: docs