[packman] [PM] mediatomb 0.12.1.svn2103-8.1 (openSUSE_Leap 42.2/x86_64)

Olaf Hering olaf at aepfle.de
Mon Mar 20 07:54:42 CET 2017


Am Sun, 19 Mar 2017 18:49:13 +0100
schrieb "John MacGregor" <john at macgregorplatz.de>:

> Some time around the end of February, it stopped working. I found out that /usr/bin/mediatomb had been deleted and indeed, the mediatomb 0.12.1.svn2103-6.7 rpm (also the sv2103-8.1) didn't contain a mediatomb executable.  Yast seems to delete it on update.


The main mediathomb package requires either the mysql or sqlite3 subpackage. Their %post scripts are supposed to create a "mediathomb" symlink. But the way it is implemented indicates that it never worked, maybe just by luck. During package upgrade the %postun is also executed, which removes the symlink.

...
%post sqlite
rm -f "%{_bindir}/mediatomb"
ln -s "%{_bindir}/mediatomb-sqlite" "%{_bindir}/mediatomb"

%postun sqlite
rm -f "%{_bindir}/mediatomb"

%post mysql
rm -f "%{_bindir}/mediatomb"
ln -s "%{_bindir}/mediatomb-mysql" "%{_bindir}/mediatomb"

%postun mysql
rm -f "%{_bindir}/mediatomb"
...

Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20170320/aa1e28f5/attachment.sig>


More information about the Packman mailing list