PKGBUILDs/aur/xrdp/xrdp.install
Kevin Mihelich acc2a0b819 aur updates
2015-06-19 00:35:13 +00:00

15 lines
236 B
Text

post_upgrade() {
if [ ! -e /etc/xrdp/rsakeys.ini ]; then
xrdp-keygen xrdp /etc/xrdp/rsakeys.ini
fi
}
post_install() {
post_upgrade
}
pre_remove() {
if [ -f /etc/xrdp/rsakeys.ini ]; then
rm /etc/xrdp/rsakeys.ini
fi
}