loolwsd: workaround postinstall script failure in docker environment

This commit is contained in:
Andras Timar 2015-08-31 12:29:29 +02:00
parent 0dc7dca0df
commit 289b8646d2

View file

@ -4,7 +4,7 @@ set -e
case "$1" in
configure)
setcap cap_fowner,cap_mknod,cap_sys_chroot=ep /usr/bin/loolwsd
setcap cap_fowner,cap_mknod,cap_sys_chroot=ep /usr/bin/loolwsd || true
adduser --quiet --system --group --home /opt/lool lool
mkdir -p /var/cache/loolwsd && chmod og+w /var/cache/loolwsd