ampache does not configure webserver correctly
Bug #676234 reported by
Charlie_Smotherman
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ampache (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ampache
This is specific to maverick (ampache-
TEST CASE
1) apt-get install ampache
2) launch web browser and go to http://
Corrected $webserver typo in ampache.preinst, ampache.postinst, and ampache.postrm. Also corrected a bad copy and paste in ampache.postrm which did not allow the webserver config to be reloaded on purge.
Added a conditional statement to ampache.preinst so if ampache.conf sym link is not present it will be created and the webserver config will be reloaded.
Related branches
description: | updated |
Changed in ampache (Ubuntu): | |
status: | New → Fix Released |
tags: | added: verification-needed |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
To post a comment you must log in.
The patch uploaded to maverick-proposed looks backwards:
for webserver in $webservers; do
webserver =${webserver% ,}
- if [ "$webserver" = "lighttpd" ] ; then
+ if [ "$webservers" = "lighttpd" ] ; then
Since this is a loop, the original version definitively looks correct.