Cosmetic trigger 'code style' changes.

This commit is contained in:
Ville Skyttä 2010-10-13 19:42:12 +03:00
parent 4b23eec8bf
commit b1980c679d

View File

@ -149,10 +149,10 @@ rm -rf $RPM_BUILD_ROOT
# is never defined)?
%define bashcomp_trigger() \
%triggerin -- %{?2}%{!?2:%1}\
[ -e %{_sysconfdir}/bash_completion.d/%1 ] ||\
[ -e %{_sysconfdir}/bash_completion.d/%1 ] || \\\
ln -s %{_datadir}/%{name}/%1 %{_sysconfdir}/bash_completion.d || :\
%triggerun -- %{?2}%{!?2:%1}\
[ $2 -gt 0 ] %{?3:|| [ -x %3 ]} %{?4:|| [ -x %4 ]} %{?5:|| [ -x %5 ]} ||\
[ $2 -gt 0 ]%{?3: || [ -x %3 ]}%{?4: || [ -x %4 ]}%{?5: || [ -x %5 ]} || \\\
rm -f %{_sysconfdir}/bash_completion.d/%1 || :\
%{nil}