forked from pool/kde-cli-tools5
This commit is contained in:
parent
6618995ab2
commit
0829a990b2
@ -60,14 +60,14 @@ Additional CLI tools for KDE applications and workspaces.
|
||||
chmod +x %{buildroot}%{_sysconfdir}/alternatives/kdesu
|
||||
ln -s -f %{_sysconfdir}/alternatives/kdesu %{buildroot}%{_kf5_bindir}/kdesu
|
||||
touch %{buildroot}%{_sysconfdir}/alternatives/kdesu.1%{?ext_man}
|
||||
mv %{buildroot}%{_mandir}/man1/kdesu.1 %{buildroot}%{_mandir}/man1/kdesu-4.1
|
||||
mv %{buildroot}%{_mandir}/man1/kdesu.1 %{buildroot}%{_mandir}/man1/kdesu-5.1
|
||||
ln -s -f %{_sysconfdir}/alternatives/kdesu.1%{?ext_man} %{buildroot}%{_mandir}/man1/kdesu.1%{?ext_man}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%{_sbindir}/update-alternatives \
|
||||
--install %{_kf5_bindir}/kdesu kdesu %{_kf5_libdir}/libexec/kdesu 15 \
|
||||
--slave %{_kf5_mandir}/man1/kdesu.1.gz kdesu.1%{?ext_man} %{_kf5_mandir}/man1/kdesu.1%{?ext_man}
|
||||
--slave %{_kf5_mandir}/man1/kdesu.1.gz kdesu.1%{?ext_man} %{_kf5_mandir}/man1/kdesu-5.1%{?ext_man}
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user