X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=bf73202f6ecbc084dbc7d55107e1a18b0c31b70f;hp=70e588218908822e93e15ff7b605e9ee9c4212ba;hb=625a49b4b28777e550a321f52f9cc5157a2b580b;hpb=ce41102169513f44c89a1e9bddfb250b29f239bb diff --git a/Makefile b/Makefile index 70e588218..bf73202f6 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ MASONDATA = /usr/local/etc/freeside/masondata #deb FREESIDE_DOCUMENT_ROOT = /var/www/freeside -#redhat, mandrake +#redhat, fedora, mandrake #FREESIDE_DOCUMENT_ROOT = /var/www/html/freeside #freebsd #FREESIDE_DOCUMENT_ROOT = /usr/local/www/data/freeside @@ -24,14 +24,14 @@ FREESIDE_DOCUMENT_ROOT = /var/www/freeside #suse #FREESIDE_DOCUMENT_ROOT = /srv/www/htdocs/freeside -#deb, redhat, mandrake, suse, others? +#deb, redhat, fedora, mandrake, suse, others? INIT_FILE = /etc/init.d/freeside #freebsd #INIT_FILE = /usr/local/etc/rc.d/011.freeside.sh #deb, suse HTTPD_RESTART = /etc/init.d/apache restart -#redhat, mandrake +#redhat, fedora, mandrake #HTTPD_RESTART = /etc/init.d/httpd restart #freebsd #HTTPD_RESTART = /usr/local/etc/rc.d/apache.sh stop; sleep 1; /usr/local/etc/rc.d/apache.sh start @@ -40,7 +40,7 @@ HTTPD_RESTART = /etc/init.d/apache restart FREESIDE_RESTART = ${INIT_FILE} restart -#deb, redhat, mandrake, suse, others? +#deb, redhat, fedora, mandrake, suse, others? INSTALLGROUP = root #freebsd, openbsd #INSTALLGROUP = wheel @@ -56,11 +56,11 @@ SELFSERVICE_USER = fs_selfservice SELFSERVICE_MACHINES = localhost # SELFSERVICE_MACHINES = web1.example.com web2.example.com -#RT_ENABLED = 0 -RT_ENABLED = 1 +RT_ENABLED = 0 +#RT_ENABLED = 1 RT_DOMAIN = example.com -RT_TIMEZONE = 'US/Pacific'; -#RT_TIMEZONE = 'US/Eastern'; +RT_TIMEZONE = US/Pacific; +#RT_TIMEZONE = US/Eastern; #--- @@ -213,7 +213,7 @@ configure-rt: create-rt: configure-rt cd rt; make install echo -e "${DB_PASSWORD}\n\\d sessions"\ - | psql -UW ${DB_USER} freeside 2>&1\ + | psql -U ${DB_USER} -W freeside 2>&1\ | grep '^Did not find'\ && rt/sbin/rt-setup-database --dba '${DB_USER}' \ --dba-password '${DB_PASSWORD}' \ @@ -228,7 +228,7 @@ create-rt: configure-rt " ${RT_PATH}/etc/RT_SiteConfig.pm install-rt: - [ ${RT_ENABLED} ] && cd rt; make install + [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true clean: rm -rf aspdocs masondocs