Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25592b6 + e976096 commit 58ef920Copy full SHA for 58ef920
1 file changed
depends/install_imagequant.sh
@@ -23,19 +23,14 @@ else
23
cargo cinstall --prefix=/usr --destdir=.
24
25
# Copy into place
26
- if [ -d "usr/lib64" ]; then
27
- lib="lib64"
28
- else
29
- lib="lib"
30
- fi
31
- sudo cp usr/$lib/libimagequant.so* /usr/lib/
+ sudo find usr -name libimagequant.so* -exec cp {} /usr/lib/ \;
32
sudo cp usr/include/libimagequant.h /usr/include/
33
34
if [ -n "$GITHUB_ACTIONS" ]; then
35
# Copy to cache
36
rm -rf ~/cache-$archive_name
37
mkdir ~/cache-$archive_name
38
- cp usr/lib/libimagequant.so* ~/cache-$archive_name/
+ find usr -name libimagequant.so* -exec cp {} ~/cache-$archive_name/ \;
39
cp usr/include/libimagequant.h ~/cache-$archive_name/
40
fi
41
0 commit comments