summarylogtreecommitdiffstats
path: root/hqplayer-embedded.install
diff options
context:
space:
mode:
Diffstat (limited to 'hqplayer-embedded.install')
-rw-r--r--hqplayer-embedded.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/hqplayer-embedded.install b/hqplayer-embedded.install
index b9cd4e4a7f9..adfb9006d5f 100644
--- a/hqplayer-embedded.install
+++ b/hqplayer-embedded.install
@@ -4,6 +4,10 @@ chown -R hqplayer:hqplayer /etc/hqplayer
cd /usr/lib
ln libgupnp-1.2.so.0 libgupnp-1.0.so.4
ln libomp.so libomp.so.5
+if [ ! -f "/etc/pki/tls/certs/ca-bundle.crt" ]; then
+mkdir -p /etc/pki/tls/certs
+ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
+fi
}
post_upgrade() {
@@ -16,6 +20,10 @@ fi
if [ ! -f "/usr/lib/libomp.so.5" ]; then
ln libomp.so libomp.so.5
fi
+if [ ! -f "/etc/pki/tls/certs/ca-bundle.crt" ]; then
+mkdir -p /etc/pki/tls/certs
+ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
+fi
}
post_remove() {