Changes of Revision 19
mediatomb.spec
Changed
x
1
2
fi
3
4
%postun
5
-if test "$?" = 0 ; then
6
+if test "$1" = 0 ; then
7
rm -fv "%{_bindir}/mediatomb"
8
fi
9
%restart_on_update mediatomb
10
11
mediatomb > /dev/null 2> /dev/null || :
12
13
%post sqlite
14
-if test "$?" != 0 ; then
15
+if test "$1" != 0 ; then
16
ln -sfv "mediatomb-sqlite" "%{_bindir}/mediatomb"
17
fi
18
19
%post mysql
20
-if test "$?" != 0 ; then
21
+if test "$1" != 0 ; then
22
ln -sfv "mediatomb-mysql" "%{_bindir}/mediatomb"
23
fi
24
25