rpm - use _pkgdocdir instead of _docdir

This commit is contained in:
Andrew Bauer 2018-09-01 12:15:08 -05:00
parent 86f043633a
commit 36322f9129
1 changed files with 2 additions and 2 deletions

View File

@ -202,8 +202,8 @@ fi
%{_bindir}/gpasswd -a %{zmuid_final} dialout >/dev/null 2>&1 || : %{_bindir}/gpasswd -a %{zmuid_final} dialout >/dev/null 2>&1 || :
# Warn the end user to read the README file # Warn the end user to read the README file
echo -e "\nVERY IMPORTANT: Before starting ZoneMinder, you must read the README file\nto finish the installation or upgrade!\n" echo -e "\nVERY IMPORTANT: Before starting ZoneMinder, you must read the README file\nto finish the installation or upgrade!"
echo -e "\nThe README file is located here: %{_docdir}/README\n" echo -e "\nThe README file is located here: %{_pkgdocdir}/README\n"
%if 0%{?with_nginx} %if 0%{?with_nginx}
# Nginx does not create an SSL certificate like the apache package does so lets do that here # Nginx does not create an SSL certificate like the apache package does so lets do that here