aboutsummaryrefslogtreecommitdiffstats
path: root/community/x2goserver/x2goserver.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/x2goserver/x2goserver.post-install')
-rwxr-xr-xcommunity/x2goserver/x2goserver.post-install2
1 files changed, 2 insertions, 0 deletions
diff --git a/community/x2goserver/x2goserver.post-install b/community/x2goserver/x2goserver.post-install
new file mode 100755
index 0000000000..8a1885a91a
--- /dev/null
+++ b/community/x2goserver/x2goserver.post-install
@@ -0,0 +1,2 @@
+#!/bin/sh
+test -s /var/lib/x2go/x2go_sessions && /usr/sbin/x2godbadmin --updatedb || /usr/sbin/x2godbadmin --createdb