ln -s /var/log/$SERVICE_NAME $RPM_INSTALL_PREFIX/logs || :
In the rpm spec file every line ends with || :
|| :
What is the
I know others have answered, but I prefer to put:
command || /bin/true
IMHO that makes it a lot more obvious to the next person who is reading the bash script/spec file.