Skip to content

Commit 4481ef5

Browse files
committed
Solved merge conflicts. Version 2.5.8 ready
2 parents 24d0385 + 7e67b8f commit 4481ef5

File tree

1 file changed

+15
-19
lines changed

1 file changed

+15
-19
lines changed

gphoto2-updater.sh

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,35 +34,31 @@ if [ "$(whoami)" != "root" ]; then
3434
exit 1
3535
fi
3636

37-
echo
37+
echo
3838
echo "----------------"
3939
echo "Updating sources"
4040
echo "----------------"
4141
echo
4242

4343
apt-get update
4444

45-
echo
45+
echo
4646
echo "--------------------------"
4747
echo "Removing gphoto2 if exists"
4848
echo "--------------------------"
4949
echo
5050

5151
apt-get remove -y gphoto2
5252

53-
echo
53+
echo
5454
echo "-----------------------"
5555
echo "Installing dependencies"
5656
echo "-----------------------"
5757
echo
5858

59-
<<<<<<< HEAD
60-
apt-get install -y libltdl-dev libusb-dev libexif-dev libpopt-dev libudev-dev make bzip2
61-
=======
6259
apt-get install -y build-essential libltdl-dev libusb-dev libexif-dev libpopt-dev libudev-dev
63-
>>>>>>> scribblemaniac-gonzalo-patch-libusbx-1.0.17
6460

65-
echo
61+
echo
6662
echo "-------------------------"
6763
echo "Creating temporary folder"
6864
echo "-------------------------"
@@ -74,7 +70,7 @@ cd gphoto2-temp-folder
7470
echo "gphoto2-temp-folder created"
7571

7672

77-
echo
73+
echo
7874
echo "-------------------------"
7975
echo "Downloading libusb 1.0.18"
8076
echo "-------------------------"
@@ -90,7 +86,7 @@ if (wget -q http://downloads.sourceforge.net/project/libusbx/releases/1.0.18/sou
9086
exit 1
9187
fi
9288

93-
echo
89+
echo
9490
echo "--------------------------------------"
9591
echo "Compiling and installing libusb 1.0.18"
9692
echo "--------------------------------------"
@@ -101,7 +97,7 @@ make install
10197
cd ..
10298

10399

104-
echo
100+
echo
105101
echo "----------------------------"
106102
echo "Downloading libgphoto2 2.5.8"
107103
echo "----------------------------"
@@ -118,7 +114,7 @@ if (wget -q http://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.8/libg
118114
fi
119115

120116

121-
echo
117+
echo
122118
echo "-----------------------------------------"
123119
echo "Compiling and installing libgphoto2 2.5.8"
124120
echo "-----------------------------------------"
@@ -129,7 +125,7 @@ make
129125
make install
130126
cd ..
131127

132-
echo
128+
echo
133129
echo "-------------------------"
134130
echo "Downloading gphoto2 2.5.8"
135131
echo "-------------------------"
@@ -146,21 +142,21 @@ if (wget -q http://downloads.sourceforge.net/project/gphoto/gphoto/2.5.8/gphoto2
146142
fi
147143

148144

149-
echo
145+
echo
150146
echo "--------------------------------"
151147
echo "Compiling and installing gphoto2"
152-
echo "--------------------------------"
148+
echo "--------------------------------"
153149
echo
154150

155151
./configure
156152
make
157153
make install
158154
cd ..
159155

160-
echo
156+
echo
161157
echo "-----------------"
162158
echo "Linking libraries"
163-
echo "-----------------"
159+
echo "-----------------"
164160
echo
165161

166162
ldconfig
@@ -199,7 +195,7 @@ then
199195
fi
200196

201197

202-
echo
198+
echo
203199
echo "-------------------"
204200
echo "Removing temp files"
205201
echo "-------------------"
@@ -210,7 +206,7 @@ rm -r gphoto2-temp-folder
210206

211207

212208

213-
echo
209+
echo
214210
echo "--------------------"
215211
echo "Finished!! Enjoy it!"
216212
echo "--------------------"

0 commit comments

Comments
 (0)