From f0ca21da8935f8ee6627cc75722685b1abc8b981 Mon Sep 17 00:00:00 2001 From: agolybev Date: Tue, 18 Aug 2015 14:05:31 +0300 Subject: [PATCH] Removed unused code. --- Tools/Bin/GenerateAllFonts.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Tools/Bin/GenerateAllFonts.sh b/Tools/Bin/GenerateAllFonts.sh index b90d162d..cef92d04 100755 --- a/Tools/Bin/GenerateAllFonts.sh +++ b/Tools/Bin/GenerateAllFonts.sh @@ -3,12 +3,8 @@ DIR="/var/www/onlyoffice/documentserver" #Start generate AllFonts.js, font thumbnails and font_selection.bin -sudo -u onlyoffice "$DIR/Tools/AllFontsGen"\ +"$DIR/Tools/AllFontsGen"\ "/usr/share/fonts"\ "$DIR/DocService/OfficeWeb/sdk/Common/AllFonts.js"\ "$DIR/DocService/OfficeWeb/sdk/Common/Images"\ "$DIR/FileConverterService/Bin/font_selection.bin" - -#Restart web-site and converter -sudo supervisorctl restart DocService -sudo supervisorctl restart FileConverterService