Skip to content

Commit 237115d

Browse files
committed
updated title
1 parent 191d993 commit 237115d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Document-Processing/PDF/Conversions/HTML-To-PDF/NET/Convert-HTML-to-PDF-in-Azure-Functions-Linux.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ N> Starting with v16.2.0.x, if you reference Syncfusion<sup>&reg;</sup> assembli
3131

3232
Step 5: Create a shell file with the below commands in the project and name it as dependenciesInstall.sh. In this article, these steps have been followed to install dependencies packages.
3333

34-
{% highlight c# tabtitle="C#" %}
34+
{% highlight bash tabtitle="Shell" %}
3535

3636
echo "Starting dependencies installation script..."
3737

@@ -48,13 +48,20 @@ if [ -f "$FILE_PATH" ]; then
4848
if [ -d "$PACKAGE_USR" ]; then
4949
echo "Copying user libraries..."
5050
rsync -av --update /home/site/wwwroot/Package/usr/lib/ /usr/lib/
51-
echo "copied successfully..."
51+
echo "Copied successfully..."
5252
fi
5353
else
5454
echo "Package directory does not exist. Installing dependencies..."
55-
apt-get update && apt-get install -yq --no-install-recommends libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 libnss3 libgbm1
55+
apt-get update && apt-get install -yq --no-install-recommends \
56+
libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 \
57+
libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 \
58+
libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 \
59+
libx11-6 libx11-xcb1 libxcb1 libxcursor1 libxdamage1 libxext6 \
60+
libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 libnss3 libgbm1
61+
5662
mkdir -p /home/site/wwwroot/Package/usr/lib/x86_64-linux-gnu
5763
mkdir -p /home/site/wwwroot/Package/lib/x86_64-linux-gnu
64+
5865
PACKAGE_USR="/home/site/wwwroot/Package/usr/lib/x86_64-linux-gnu"
5966
if [ -d "$PACKAGE_USR" ]; then
6067
echo "Copying user libraries to package..."

0 commit comments

Comments
 (0)