summarylogtreecommitdiffstats
path: root/hqplayer-embedded.install
diff options
context:
space:
mode:
Diffstat (limited to 'hqplayer-embedded.install')
-rw-r--r--hqplayer-embedded.install14
1 files changed, 10 insertions, 4 deletions
diff --git a/hqplayer-embedded.install b/hqplayer-embedded.install
index 1417429f1ed4..8a0782e2acaa 100644
--- a/hqplayer-embedded.install
+++ b/hqplayer-embedded.install
@@ -3,10 +3,13 @@ chown -R hqplayer:hqplayer /var/hqplayer
chown -R hqplayer:hqplayer /etc/hqplayer
cd /usr/lib
if [ ! -f "libgupnp-1.2.so.0" ]; then
-ln libgupnp-1.2.so.1 libgupnp-1.2.so.0
+ln -s libgupnp-1.2.so.1 libgupnp-1.2.so.0
fi
if [ ! -f "libgupnp-av-1.0.so.2" ]; then
-ln libgupnp-av-1.0.so.3 libgupnp-av-1.0.so.2
+ln -s libgupnp-av-1.0.so.3 libgupnp-av-1.0.so.2
+fi
+if [ ! -f "libomp.so.5" ]; then
+ln -s libomp.so libomp.so.5
fi
if [ ! -f "/etc/pki/tls/certs/ca-bundle.crt" ]; then
mkdir -p /etc/pki/tls/certs
@@ -19,10 +22,13 @@ chown -R hqplayer:hqplayer /var/hqplayer
chown -R hqplayer:hqplayer /etc/hqplayer
cd /usr/lib
if [ ! -f "libgupnp-1.2.so.0" ]; then
-ln libgupnp-1.2.so.1 libgupnp-1.2.so.0
+ln -s libgupnp-1.2.so.1 libgupnp-1.2.so.0
fi
if [ ! -f "libgupnp-av-1.0.so.2" ]; then
-ln libgupnp-av-1.0.so.3 libgupnp-av-1.0.so.2
+ln -s libgupnp-av-1.0.so.3 libgupnp-av-1.0.so.2
+fi
+if [ ! -f "libomp.so.5" ]; then
+ln -s libomp.so libomp.so.5
fi
if [ ! -f "/etc/pki/tls/certs/ca-bundle.crt" ]; then
mkdir -p /etc/pki/tls/certs