summarylogtreecommitdiffstats
path: root/libreoffice-online.install
blob: 20ee89997893bb9e7a48a078ef2cee25989d1f58 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
  loolwsd-systemplate-setup /var/lib/lool/systemplate /usr/lib/libreoffice >/dev/null 2>&1
  loolwsd-generate-proof-key >/dev/null 2>&1
  setcap cap_fowner,cap_chown,cap_mknod,cap_sys_chroot=ep /usr/bin/loolforkit
  setcap cap_sys_admin=ep /usr/bin/loolmount
  echo "Do your edits into /etc/loolwsd/loolwsd.xml for further customizations"
}

post_upgrade() {
  post_install
}