-
Notifications
You must be signed in to change notification settings - Fork 3
/
install-bc2-ubuntu18.sh
executable file
·51 lines (41 loc) · 1.38 KB
/
install-bc2-ubuntu18.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
### Script to install CCA Tools in BitCurator 2/Ubuntu 18
# Tessa Walsh - April 2018
# Run as sudo
# Install PyQt5
echo "Installing PyQt5..."
python3 -m pip install pyqt5
# Force Siegfried to make single identifications
roy build -multi 0
# Download and install CCA Disk Image Processor
cd /home/bcadmin
echo "Installing Disk Image Processor..."
git clone https://github.com/CCA-Public/diskimageprocessor
cd /home/bcadmin/diskimageprocessor
sudo ./install-bc2-ubuntu18.sh
# Download and install CCA Folder Processor
cd /home/bcadmin
echo "Installing Folder Processor..."
git clone https://github.com/CCA-Public/folderprocessor
cd /home/bcadmin/folderprocessor
sudo ./install-bc2-ubuntu18.sh
# Download and install CCA SIP Creator
cd /home/bcadmin
echo "Installing SIP Creator..."
git clone https://github.com/CCA-Public/sipcreator
cd /home/bcadmin/sipcreator
sudo ./install-bc2-ubuntu18.sh
# Create /mnt/diskid/ directory for processing UDF and HFS disks with Disk Image Processor
echo "Creating /mnt/diskid..."
if [ ! -d /mnt/diskid ]; then
mkdir /mnt/diskid
fi
# Cleanup folders
echo "Cleaning up folders..."
rm -rf /home/bcadmin/diskimageprocessor
rm -rf /home/bcadmin/folderprocessor
rm -rf /home/bcadmin/sipcreator
# Fix permissions for launchers
chmod a+x -R "/home/bcadmin/Desktop/CCA Tools"
# Echo done
echo "Finished! CCA Tools installed in /home/bcadmin/Desktop/CCA Tools."