Call xrdp-keygen with full path in %posttrans
This commit is contained in:
parent
3c9d286368
commit
81cb1033b1
@ -4,7 +4,7 @@ Summary: Open source remote desktop protocol (RDP) server
|
|||||||
Name: xrdp
|
Name: xrdp
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.9.1
|
Version: 0.9.1
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
URL: http://www.xrdp.org/
|
URL: http://www.xrdp.org/
|
||||||
@ -106,7 +106,7 @@ fi
|
|||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
if [ ! -s %{_sysconfdir}/xrdp/rsakeys.ini ]; then
|
if [ ! -s %{_sysconfdir}/xrdp/rsakeys.ini ]; then
|
||||||
(umask 377; xrdp-keygen xrdp %{_sysconfdir}/xrdp/rsakeys.ini >/dev/null)
|
(umask 377; %{_bindir}/xrdp-keygen xrdp %{_sysconfdir}/xrdp/rsakeys.ini >/dev/null)
|
||||||
fi
|
fi
|
||||||
chmod 400 %{_sysconfdir}/xrdp/rsakeys.ini
|
chmod 400 %{_sysconfdir}/xrdp/rsakeys.ini
|
||||||
|
|
||||||
@ -187,6 +187,7 @@ systemctl try-restart xrdp.service >/dev/null 2>&1 || :
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 10 2017 Pavel Roskin <plroskin@gmail.com> - 1:0.9.1-7
|
* Fri Mar 10 2017 Pavel Roskin <plroskin@gmail.com> - 1:0.9.1-7
|
||||||
- Require /etc/X11/xinit/Xsession, it's called from startwm.sh
|
- Require /etc/X11/xinit/Xsession, it's called from startwm.sh
|
||||||
|
- Call xrdp-keygen with full path in %posttrans
|
||||||
|
|
||||||
* Thu Mar 09 2017 Pavel Roskin <plroskin@gmail.com> - 1:0.9.1-6
|
* Thu Mar 09 2017 Pavel Roskin <plroskin@gmail.com> - 1:0.9.1-6
|
||||||
- Make xrdp depend on xorgxrdp, not on tigervnc-server-minimal
|
- Make xrdp depend on xorgxrdp, not on tigervnc-server-minimal
|
||||||
|
Loading…
Reference in New Issue
Block a user