diff options
Diffstat (limited to 'hqplayer-embedded.install')
-rw-r--r-- | hqplayer-embedded.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hqplayer-embedded.install b/hqplayer-embedded.install index 0379a9a380bf..a552c551a95f 100644 --- a/hqplayer-embedded.install +++ b/hqplayer-embedded.install @@ -19,6 +19,13 @@ 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 +if [ -f "/opt/hqplayerd/lib/libsgllnx64-2.29.02.so" ] ; then +rm libsgllnx64-2.29.02.so +ln -s /opt/hqplayerd/lib/libsgllnx64-2.29.02.so libsgllnx64-2.29.02.so +fi +if [ ! -f "libsglarm64-2.31.0.0.so" ] && [ -f "/opt/hqplayerd/lib/libsglarm64-2.31.0.0.so" ] ; then +ln -s /opt/hqplayerd/lib/libsglarm64-2.31.0.0.so libsglarm64-2.31.0.0.so +fi } post_upgrade() { @@ -42,4 +49,11 @@ 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 +if [ -f "/opt/hqplayerd/lib/libsgllnx64-2.29.02.so" ] ; then +rm libsgllnx64-2.29.02.so +ln -s /opt/hqplayerd/lib/libsgllnx64-2.29.02.so libsgllnx64-2.29.02.so +fi +if [ ! -f "libsglarm64-2.31.0.0.so" ] && [ -f "/opt/hqplayerd/lib/libsglarm64-2.31.0.0.so" ] ; then +ln -s /opt/hqplayerd/lib/libsglarm64-2.31.0.0.so libsglarm64-2.31.0.0.so +fi } |