Installs etherpad script in libreoffice-conversion directory
This commit is contained in:
parent
7c4f2fa4dd
commit
2abda6bdc1
@ -2,7 +2,7 @@
|
||||
|
||||
#This script is used to enable Etherpad to export to PDF/ODT
|
||||
# 1- Edit /usr/share/etherpad-lite/settings.json
|
||||
# 2- Set "soffice" config to this script path
|
||||
# 2- Set "soffice" config to this script path (default "/usr/share/bbb-libreoffice-conversion/etherpad-export.sh")
|
||||
|
||||
/usr/share/bbb-libreoffice-conversion/convert.sh "$8" "$(echo $8 | sed -E -e 's/html|odt/'$7'/')" $7
|
||||
|
||||
|
@ -37,6 +37,8 @@ if [ "$FOLDER_CHECK" = "0" ]; then
|
||||
mkdir -m 755 /usr/share/bbb-libreoffice-conversion/
|
||||
cp assets/convert-local.sh /usr/share/bbb-libreoffice-conversion/convert.sh
|
||||
chmod 755 /usr/share/bbb-libreoffice-conversion/convert.sh
|
||||
cp assets/etherpad-export.sh /usr/share/bbb-libreoffice-conversion/etherpad-export.sh
|
||||
chmod 755 /usr/share/bbb-libreoffice-conversion/etherpad-export.sh
|
||||
chown -R root /usr/share/bbb-libreoffice-conversion/
|
||||
else
|
||||
echo "Install folder already exists"
|
||||
|
@ -12,6 +12,8 @@ if [ "$FOLDER_CHECK" = "0" ]; then
|
||||
mkdir -m 755 /usr/share/bbb-libreoffice-conversion/
|
||||
cp assets/convert-remote.sh /usr/share/bbb-libreoffice-conversion/convert.sh
|
||||
chmod 755 /usr/share/bbb-libreoffice-conversion/convert.sh
|
||||
cp assets/convert-remote.sh /usr/share/bbb-libreoffice-conversion/etherpad-export.sh
|
||||
chmod 755 /usr/share/bbb-libreoffice-conversion/etherpad-export.sh
|
||||
chown -R root /usr/share/bbb-libreoffice-conversion/
|
||||
else
|
||||
echo "Install folder already exists"
|
||||
|
Loading…
Reference in New Issue
Block a user