forked from pool/kde-cli-tools5
This commit is contained in:
parent
9b4d0e27a2
commit
cd2f063134
@ -76,14 +76,14 @@ Additional CLI tools for KDE applications and workspaces.
|
|||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%{_sbindir}/update-alternatives \
|
%{_sbindir}/update-alternatives \
|
||||||
--install %{_kf5_bindir}/kdesu kdesu %{_kf5_libdir}/libexec/kdesu 15 \
|
--install %{_kf5_bindir}/kdesu kdesu %{_kf5_libexecdir}/kdesu 15 \
|
||||||
--slave %{_kf5_mandir}/man1/kdesu.1.gz kdesu.1%{?ext_man} %{_kf5_mandir}/man1/kdesu-5.1%{?ext_man}
|
--slave %{_kf5_mandir}/man1/kdesu.1.gz kdesu.1%{?ext_man} %{_kf5_mandir}/man1/kdesu-5.1%{?ext_man}
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
%{_sbindir}/update-alternatives --remove kdesu \
|
%{_sbindir}/update-alternatives --remove kdesu \
|
||||||
%{_kf5_libdir}/libexec/kdesu
|
%{_kf5_libexecdir}/kdesu
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -102,7 +102,7 @@ fi
|
|||||||
%{_kf5_bindir}/ktraderclient5
|
%{_kf5_bindir}/ktraderclient5
|
||||||
%{_kf5_servicesdir}/
|
%{_kf5_servicesdir}/
|
||||||
%{_kf5_libdir}/libkdeinit5_kcmshell5.so
|
%{_kf5_libdir}/libkdeinit5_kcmshell5.so
|
||||||
%{_kf5_libdir}/libexec/
|
%{_kf5_libexecdir}/
|
||||||
%ghost %{_sysconfdir}/alternatives/kdesu
|
%ghost %{_sysconfdir}/alternatives/kdesu
|
||||||
%{_kf5_plugindir}/
|
%{_kf5_plugindir}/
|
||||||
%ghost %{_sysconfdir}/alternatives/kdesu.1%{?ext_man}
|
%ghost %{_sysconfdir}/alternatives/kdesu.1%{?ext_man}
|
||||||
|
Loading…
Reference in New Issue
Block a user