Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23542 - [minidlna] delete / if db_dir isn't setted

Attached to Project: Community Packages
Opened by Andrea Scarpino (BaSh) - Thursday, 31 March 2011, 19:46 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 31 March 2011, 20:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The minidlna rc script include this line:
rm -r $db_dir/*

but db_dir isn't setted by default, then it will remove everything in root.

I removed the package from the [community] repo.

Additional info:
* minidlna 1.0.19-1

Steps to reproduce:
# /etc/rc.d/minidlna clean
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 31 March 2011, 20:12 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Thursday, 31 March 2011, 20:12 GMT
changed to "[ -z $db_dir ] || rm -r $db_dir/*"

Loading...