use a placeholder file in empty directories

Bug #503028 reported by Jeremy Olexa on 2010-01-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wicd
Low
Adam Blackburn

Bug Description

(low priority!)

It would be nice if the upstream tarballs did *not* include empty directories for multiple reasons. 1) git doesn't like to track empty dirs. 2) some PM's refuse to install empty directories.

So, I'd propose to place a .empty_on_purpose file in such directories. Now, keep in mind, I have already worked around this issue in my Gentoo package. But, it has come up multiple times in IRC (hanska & roconner) so here is a formal request.

(snippet from wicd-1.7.0b4 ebuild (gentoo) )
 keepdir /var/lib/wicd/configurations \
  || die "keepdir failed, critical for this app"
 keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect} \
  || die "keepdir failed, critical for this app"
 keepdir /var/log/wicd \
  || die "keepdir failed, critical for this app"
(end snippet)

Technically speaking, I don't need a touch file in /var/log/wicd, but it lets the package manager know about the directory. Also, I think configurations/ might be created at install time and would require a fix in a different way.

Changed in wicd:
importance: Undecided → Low
assignee: nobody → Adam Blackburn (adamblackburn)
milestone: none → 1.7.0
status: New → Fix Committed
Changed in wicd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers