Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit 420bea0

Browse files
committed
fix setup bugs
1 parent 76edb1e commit 420bea0

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

scripts/setup_linux_build.sh

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,30 @@ fi
1414
rm -rf cef
1515
unzip cef.zip
1616
mv $zipname cef
17+
./make_symlinks.sh
1718

1819
# get libudev0 for Ubuntu 13.04
1920
if egrep -q "13\.04" /etc/issue; then
20-
wget -O libudev0_175-0ubuntu19_i386.deb http://launchpadlibrarian.net/132294322/libudev0_175-0ubuntu19_i386.deb
21-
dpkg -i *.deb
22-
apt-get install -f
21+
if [ ! -f libudev0.deb ]; then
22+
wget -O libudev0.deb http://launchpadlibrarian.net/132294322/libudev0_175-0ubuntu19_i386.deb
23+
fi
24+
25+
sudo dpkg -i *.deb
26+
sudo apt-get install -f
2327
fi
2428

2529
# download chromium dependency script
2630
if [ ! -f install-build-deps.sh ]; then
27-
wget -O install-build-deps.sh http://src.chromium.org/svn/trunk/src/build/install-build-deps.sh
31+
wget -O install-build-deps.sh https://gist.github.com/jasonsanjose/5514813/raw/8f333053a1a1180c2bfd4aabca94d4cff76e8595/install-build-deps.sh
2832
chmod 755 install-build-deps.sh
2933
fi
3034

3135
# install dependecies
32-
install-build-deps.sh --no-chromeos-fonts
36+
./install-build-deps.sh --no-chromeos-fonts
3337

3438
popd
3539

3640
# install and run gyp to create makefile
37-
apt-get install gyp
41+
sudo apt-get install gyp
42+
3843
gyp --depth .

0 commit comments

Comments
 (0)