FS#25383 - [mpd] post_upgrade script assumes /bin/sh to be bash

Attached to Project: Arch Linux
Opened by Link Mauve (linkmauve) - Wednesday, 03 August 2011, 10:07 GMT
Last edited by Allan McRae (Allan) - Wednesday, 03 August 2011, 12:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No


In POSIX shell, the {a,b} expansion isn’t defined, resulting in chown unable to change the owner of the "/var/{lib,log}/mpd" (instead of the two files).

Additional info:
* package version(s)

Steps to reproduce:
# rm /bin/sh
# ln -s zsh /bin/sh
# pacman -S mpd
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 03 August 2011, 12:59 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Arch assumes /bin/sh to be bash