mirror of
https://github.com/RasppleII/a2cloud.git
synced 2024-11-27 05:49:25 +00:00
setup.txt: Use deb of unar if it exists (jessie+)
This commit is contained in:
parent
2718d81572
commit
e943aa7823
@ -1226,8 +1226,11 @@ if [[ $installArchiveTools ]]; then
|
|||||||
|
|
||||||
# download and install The Unarchiver, for expanding apple.com disk images
|
# download and install The Unarchiver, for expanding apple.com disk images
|
||||||
# http://wakaba.c3.cx/s/apps/unarchiver.html
|
# http://wakaba.c3.cx/s/apps/unarchiver.html
|
||||||
if [[ ! -f /usr/local/bin/unar ]]; then
|
if ! command -v unar >/dev/null; then
|
||||||
echo "A2CLOUD: Installing The Unarchiver..."
|
echo "A2CLOUD: Installing The Unarchiver..."
|
||||||
|
if apt-cache show unar &>/dev/null; then
|
||||||
|
sudo apt-get -y install unar
|
||||||
|
else
|
||||||
cd /tmp/a2cloud-install
|
cd /tmp/a2cloud-install
|
||||||
if [[ $downloadBinaries ]]; then
|
if [[ $downloadBinaries ]]; then
|
||||||
if [[ $isRpi || $isDebian ]]; then
|
if [[ $isRpi || $isDebian ]]; then
|
||||||
@ -1240,7 +1243,7 @@ if [[ $installArchiveTools ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ ! -f /usr/local/bin/unar ]]; then
|
if ! command -v unar >/dev/null; then
|
||||||
sudo apt-get -y install build-essential
|
sudo apt-get -y install build-essential
|
||||||
sudo apt-get -y install libgnustep-base-dev libz-dev libbz2-dev
|
sudo apt-get -y install libgnustep-base-dev libz-dev libbz2-dev
|
||||||
sudo apt-get -y install libssl-dev libicu-dev unzip
|
sudo apt-get -y install libssl-dev libicu-dev unzip
|
||||||
@ -1260,6 +1263,7 @@ if [[ $installArchiveTools ]]; then
|
|||||||
rm -rf unar
|
rm -rf unar
|
||||||
fi
|
fi
|
||||||
sudo mandb &> /dev/null
|
sudo mandb &> /dev/null
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "A2CLOUD: The Unarchiver is already installed."
|
echo "A2CLOUD: The Unarchiver is already installed."
|
||||||
fi
|
fi
|
||||||
@ -1418,7 +1422,7 @@ if [[ $a2CloudDisk ]]; then
|
|||||||
acmd -g /usr/local/adtpro/disks/VDRIVE-*DSK VEDRIVE.CONFIG - | acmd -p "$a2CloudDisk" VEDRIVE.CONFIG BAS
|
acmd -g /usr/local/adtpro/disks/VDRIVE-*DSK VEDRIVE.CONFIG - | acmd -p "$a2CloudDisk" VEDRIVE.CONFIG BAS
|
||||||
|
|
||||||
# Apple System Utilities 3.1 support files
|
# Apple System Utilities 3.1 support files
|
||||||
if [[ -f /usr/local/bin/unar ]]; then
|
if command -v unar >/dev/null; then
|
||||||
echo "A2CLOUD: Downloading and copying System Utilities support files..."
|
echo "A2CLOUD: Downloading and copying System Utilities support files..."
|
||||||
cd /tmp/a2cloud-install
|
cd /tmp/a2cloud-install
|
||||||
wget -qO Apple_II_System_Disk_3.2.sea.bin http://archive.org/download/download.info.apple.com.2012.11/download.info.apple.com.2012.11.zip/download.info.apple.com%2FApple_Support_Area%2FApple_Software_Updates%2FEnglish-North_American%2FApple_II%2FApple_II_Supplemental%2FApple_II_System_Disk_3.2.sea.bin
|
wget -qO Apple_II_System_Disk_3.2.sea.bin http://archive.org/download/download.info.apple.com.2012.11/download.info.apple.com.2012.11.zip/download.info.apple.com%2FApple_Support_Area%2FApple_Software_Updates%2FEnglish-North_American%2FApple_II%2FApple_II_Supplemental%2FApple_II_System_Disk_3.2.sea.bin
|
||||||
|
Loading…
Reference in New Issue
Block a user