There is no __touch, use touch.
This commit is contained in:
parent
0e617c2d5a
commit
cd101d1ce8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user