summarylogtreecommitdiffstats
path: root/hqplayer-embedded.install
diff options
context:
space:
mode:
authorblackhole2024-04-27 17:29:54 +0200
committerblackhole2024-04-27 17:29:54 +0200
commit52fc537eb5356fa8aaa8b08e2d6dac9a1ba03e4f (patch)
treea49267d28518f7d00f15a6203149eaa08f539a24 /hqplayer-embedded.install
parent9e229b384e964522e0073c02836bf145274fdb23 (diff)
downloadaur-hqplayer-embedded.tar.gz
fixed install file
Diffstat (limited to 'hqplayer-embedded.install')
-rw-r--r--hqplayer-embedded.install6
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