Bug#514275: 514275: dclock: /etc/X11/app-defaults/DClock is a directory
Package: dclock
> The application defaults file for dpkg is not installed correctly.
> dpkg shows
> # dpkg --contents /var/cache/apt/archives/dclock_2.2.2-1_amd64.deb
> drwxr-xr-x root/root 0 2009-02-05 02:21 ./
> drwxr-xr-x root/root 0 2009-02-05 02:21 ./etc/
> drwxr-xr-x root/root 0 2009-02-05 02:21 ./etc/X11/
> drwxr-xr-x root/root 0 2009-02-05 02:21 ./etc/X11/app-defaults/
> drwxr-xr-x root/root 0 2009-02-05 02:21 ./etc/X11/app-defaults/DClock/
> -rw-r--r-- root/root 524 2009-02-05 02:21 ./etc/X11/app-defaults/DClock/Dclock.ad
:
^^^^^^^^^^^^^^^^
I think the original bug submitter was trying to say that the
app-defaults directory has no subdirectories, and therefore there
should not be a DClock subdirectory there. The debian/install file
has "Dclock.ad etc/X11/app-defaults/DClock" - I think the package
maintainer was trying to rename the Dclock.ad file to Dclock, and have
it live in the app-defaults directory, but instead a DClock
subdirectory appeared, and the Dclock.ad Xresource file was installed
there.
Looking at the debian/patches/01_sound_paths.diff file, it shows:
-dclock*bellFile: /usr/share/sound/bell.wav
-dclock*alarmFile: /usr/share/sound/digital.wav
+dclock*bellFile: /usr/share/sounds/dclock/bell.wav
+dclock*alarmFile: /usr/share/sound/dclock/digital.wav
The alarmFile should be in /usr/share/sounds (plural), but it appears
correctly in /usr/share/sounds/ in the .deb file for some reason.
Yoshio
Reply to: