rearrange encoder/transcoder/multimedia parts in various containers
This commit is contained in:
15
build/scripts/rar.sh
Normal file
15
build/scripts/rar.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
## Environment
|
||||
export_env RAR_VERSION 5.4.0
|
||||
|
||||
## Rar
|
||||
cd /opt
|
||||
wget http://www.rarlab.com/rar/rarlinux-x64-$RAR_VERSION.tar.gz
|
||||
tar xzf rarlinux-x64-$RAR_VERSION.tar.gz
|
||||
ln -s /opt/rar/rar /usr/bin
|
||||
|
||||
|
||||
## Remove installation files
|
||||
if [ $MODE == "minimal" ]; then
|
||||
cd /opt
|
||||
rm rarlinux-x64-$RAR_VERSION.tar.gz
|
||||
fi
|
||||
Reference in New Issue
Block a user