add libunrar

This commit is contained in:
j 2019-01-29 15:03:44 +05:30
parent 384f9a7e08
commit 67c4bd5878
2 changed files with 9 additions and 0 deletions

BIN
lib/libunrar.so Executable file

Binary file not shown.

View File

@ -46,3 +46,12 @@ do
done
rm -r p35 p36 p37 old requirements.txt
if [ ! -e lib/libunrar.so ]; then
curl -sLO https://www.rarlab.com/rar/unrarsrc-5.7.1.tar.gz
untar xzf unrarsrc-5.7.1.tar.gz
cd unrar
make lib
mv libunrar.so ../lib/libunrar.so
cd ..
rm -r unrar unrarsrc-5.7.1.tar.gz
fi