Requires(postun): /sbin/ldconfig, systemd
Requires: gumd
Requires: libsystemd
-Requires: tlm-config
BuildRequires: pkgconfig(glib-2.0) >= 2.30
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gio-2.0)
%post
/sbin/ldconfig
-/usr/bin/systemctl enable tlm
-/usr/bin/systemctl daemon-reload
-%preun
-if [ $1 == 0 ]; then
- /usr/bin/systemctl disable tlm
- /usr/bin/systemctl daemon-reload
-fi
-
%postun -p /sbin/ldconfig
if [ ! -e /etc/tlm.conf ] || [ -h /etc/tlm.conf ]; then
ln -s -f /etc/tlm-singleseat.conf /etc/tlm.conf
fi
+/usr/bin/systemctl enable tlm
+/usr/bin/systemctl daemon-reload
+
+%preun config-ivi-singleseat
+if [ $1 == 0 ]; then
+ /usr/bin/systemctl disable tlm
+ /usr/bin/systemctl daemon-reload
+fi
%postun config-ivi-singleseat
if [ -h /etc/tlm.conf ]; then
if [ ! -e /etc/tlm.conf ] || [ -h /etc/tlm.conf ]; then
ln -s -f /etc/tlm-multiseat.conf /etc/tlm.conf
fi
+/usr/bin/systemctl enable tlm
+/usr/bin/systemctl daemon-reload
+
+%preun config-ivi-multiseat
+if [ $1 == 0 ]; then
+ /usr/bin/systemctl disable tlm
+ /usr/bin/systemctl daemon-reload
+fi
%postun config-ivi-multiseat
if [ -h /etc/tlm.conf ]; then
if [ ! -e /etc/tlm.conf ] || [ -h /etc/tlm.conf ]; then
ln -s -f /etc/tlm-vtc1010.conf /etc/tlm.conf
fi
+/usr/bin/systemctl enable tlm
+/usr/bin/systemctl daemon-reload
+
+%preun config-ivi-vtc1010
+if [ $1 == 0 ]; then
+ /usr/bin/systemctl disable tlm
+ /usr/bin/systemctl daemon-reload
+fi
%postun config-ivi-vtc1010
if [ -h /etc/tlm.conf ]; then
Requires(postun): /sbin/ldconfig, systemd
Requires: gumd
Requires: libsystemd
-Requires: tlm-config
BuildRequires: pkgconfig(glib-2.0) >= 2.30
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gio-2.0)
%post
/sbin/ldconfig
-/usr/bin/systemctl enable tlm
-/usr/bin/systemctl daemon-reload
-%preun
-if [ $1 == 0 ]; then
- /usr/bin/systemctl disable tlm
- /usr/bin/systemctl daemon-reload
-fi
-
%postun -p /sbin/ldconfig
if [ ! -e /etc/tlm.conf ] || [ -h /etc/tlm.conf ]; then
ln -s -f /etc/tlm-singleseat.conf /etc/tlm.conf
fi
+/usr/bin/systemctl enable tlm
+/usr/bin/systemctl daemon-reload
+
+%preun config-ivi-singleseat
+if [ $1 == 0 ]; then
+ /usr/bin/systemctl disable tlm
+ /usr/bin/systemctl daemon-reload
+fi
%postun config-ivi-singleseat
if [ -h /etc/tlm.conf ]; then
if [ ! -e /etc/tlm.conf ] || [ -h /etc/tlm.conf ]; then
ln -s -f /etc/tlm-multiseat.conf /etc/tlm.conf
fi
+/usr/bin/systemctl enable tlm
+/usr/bin/systemctl daemon-reload
+
+%preun config-ivi-multiseat
+if [ $1 == 0 ]; then
+ /usr/bin/systemctl disable tlm
+ /usr/bin/systemctl daemon-reload
+fi
%postun config-ivi-multiseat
if [ -h /etc/tlm.conf ]; then
if [ ! -e /etc/tlm.conf ] || [ -h /etc/tlm.conf ]; then
ln -s -f /etc/tlm-vtc1010.conf /etc/tlm.conf
fi
+/usr/bin/systemctl enable tlm
+/usr/bin/systemctl daemon-reload
+
+%preun config-ivi-vtc1010
+if [ $1 == 0 ]; then
+ /usr/bin/systemctl disable tlm
+ /usr/bin/systemctl daemon-reload
+fi
%postun config-ivi-vtc1010
if [ -h /etc/tlm.conf ]; then