Ticket #46 (closed defect: fixed)
Typo in pksetup
Reported by: | aduston | Owned by: | jerome |
---|---|---|---|
Priority: | major | Milestone: | 1.27 final |
Component: | pykota | Version: | development |
Keywords: | Cc: |
Description
While attempting to install the current version of pykota from the subversion repository I found an error in the pksetup script.
This is how the error appears:
The following command will be launched to see if PostgreSQL accepts TCP/IP connections :
egrep \"tcpip_socket|listen_addresses\" /etc/postgresql/8.3/main/postgresql.conf
Do you agree ? y
sh: listen_addresses": not found
It's easily fixed by changing line 313 in pksetup to read:
answer = self.confirmPipe("to see if PostgreSQL accepts TCP/IP connections", 'egrep "\\"tcpip_socket|listen_addresses\\"" %(pgc onffile)s' % locals())
Note the added quotation marks before and after the backslashes.