mirror of
https://github.com/RasppleII/a2server.git
synced 2025-01-11 11:31:21 +00:00
TEST: Force current Unarchiver to be installed
Must compile from source
This commit is contained in:
parent
847932886a
commit
f7e937ea22
@ -75,6 +75,7 @@ if [[ ! -f /usr/local/bin/unar ]]; then
|
||||
touch /tmp/a2server-packageReposUpdated
|
||||
fi
|
||||
|
||||
:<<COMMENT
|
||||
if [[ $isRpi || $isDebian ]]; then
|
||||
sudo apt-get -y install libgnustep-base1.22
|
||||
sudo apt-get clean
|
||||
@ -84,7 +85,8 @@ if [[ ! -f /usr/local/bin/unar ]]; then
|
||||
wget -qO- "http://appleii.ivanx.com/a2server/files/unar-debian7_x86.tgz" | sudo tar Pzx
|
||||
fi
|
||||
fi
|
||||
if [[ ! -f /usr/local/bin/unar ]]; then
|
||||
COMMENT
|
||||
if [[ ! -f /usr/local/bin/unar | "`/usr/local/bin/unar -v`" != "v1.9.1" ]]; then
|
||||
sudo apt-get -y install build-essential \
|
||||
libgnustep-base-dev libz-dev libbz2-dev \
|
||||
libssl-dev libicu-dev unzip
|
||||
@ -92,8 +94,8 @@ if [[ ! -f /usr/local/bin/unar ]]; then
|
||||
rm -rf /tmp/unar &> /dev/null
|
||||
mkdir /tmp/unar
|
||||
cd /tmp/unar
|
||||
wget -qO unar1.7_src.zip http://theunarchiver.googlecode.com/files/unar1.7_src.zip
|
||||
unzip -o unar1.7_src.zip
|
||||
wget -qO unar1.9_src.zip http://unarchiver.c3.cx/downloads/unar1.9.1_src.zip
|
||||
unzip -o unar1.9_src.zip
|
||||
cd The\ Unarchiver/XADMaster
|
||||
make -f Makefile.linux
|
||||
sudo mv lsar unar /usr/local/bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user