There is no __touch, use touch.

This commit is contained in:
Bojan Smojver 2019-08-10 09:16:25 +10:00
parent 0e617c2d5a
commit cd101d1ce8

View File

@ -168,7 +168,7 @@ fi
%posttrans %posttrans
if [ ! -s %{_sysconfdir}/xrdp/rsakeys.ini ]; then if [ ! -s %{_sysconfdir}/xrdp/rsakeys.ini ]; then
(umask 377; %{__touch} %{_sysconfdir}/xrdp/rsakeys.ini; %{_bindir}/xrdp-keygen xrdp %{_sysconfdir}/xrdp/rsakeys.ini &>/dev/null) (umask 377; touch %{_sysconfdir}/xrdp/rsakeys.ini; %{_bindir}/xrdp-keygen xrdp %{_sysconfdir}/xrdp/rsakeys.ini &>/dev/null)
fi fi
if [ ! -s %{_sysconfdir}/xrdp/cert.pem ]; then if [ ! -s %{_sysconfdir}/xrdp/cert.pem ]; then