diff options
Diffstat (limited to 'hqplayer-embedded.install')
-rw-r--r-- | hqplayer-embedded.install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hqplayer-embedded.install b/hqplayer-embedded.install index 72fa307342ef..a552c551a95f 100644 --- a/hqplayer-embedded.install +++ b/hqplayer-embedded.install @@ -19,7 +19,8 @@ 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 "libsgllnx64-2.29.02.so" ] && [ -f "/opt/hqplayerd/lib/libsgllnx64-2.29.02.so" ] ; then +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 @@ -48,7 +49,8 @@ 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 "libsgllnx64-2.29.02.so" ] && [ -f "/opt/hqplayerd/lib/libsgllnx64-2.29.02.so" ] ; then +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 |