mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-09-19 22:08:32 +00:00
16 lines
236 B
Plaintext
16 lines
236 B
Plaintext
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
|
|
}
|