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
|
||||
/sbin/ldconfig
|
||||
%{_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}
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
%{_sbindir}/update-alternatives --remove kdesu \
|
||||
%{_kf5_libdir}/libexec/kdesu
|
||||
%{_kf5_libexecdir}/kdesu
|
||||
fi
|
||||
|
||||
%files
|
||||
@ -102,7 +102,7 @@ fi
|
||||
%{_kf5_bindir}/ktraderclient5
|
||||
%{_kf5_servicesdir}/
|
||||
%{_kf5_libdir}/libkdeinit5_kcmshell5.so
|
||||
%{_kf5_libdir}/libexec/
|
||||
%{_kf5_libexecdir}/
|
||||
%ghost %{_sysconfdir}/alternatives/kdesu
|
||||
%{_kf5_plugindir}/
|
||||
%ghost %{_sysconfdir}/alternatives/kdesu.1%{?ext_man}
|
||||
|
Loading…
Reference in New Issue
Block a user