Skip to content

Commit 3db2077

Browse files
committed
Improved vagrant init scripts
1 parent fb0172f commit 3db2077

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

install_debi7.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cd /home/vagrant
1717

1818
echo 'COMPONENTS="main restricted universe multiverse"' > ~/.pbuilderrc
1919

20-
#sudo pbuilder create
20+
sudo pbuilder create
2121

2222
#get and build qt
2323

@@ -30,10 +30,13 @@ cd $QTBUILD_DIR
3030

3131
if [ ! -f $INSTALL_ARC ]
3232
then
33-
wget http://download.qt-project.org/official_releases/qt/5.1/5.1.1/single/qt-everywhere-opensource-src-5.1.1.tar.gz
34-
tar -xvf $INSTALL_ARC
33+
wget http://redisdesktop.com/vagrant/qt-everywhere-opensource-src-5.1.1.tar.gz
3534
fi
3635

36+
rm -fR ./qt-everywhere-opensource-src-5.1.1
37+
38+
tar -xvf $INSTALL_ARC
39+
3740
cd ./qt-everywhere-opensource-src-5.1.1
3841

3942
sudo ./configure -opensource -qt-libpng -qt-libjpeg -qt-xcb -qt-xkbcommon -no-kms -no-opengl -dbus-linked -openssl-linked -nomake examples -no-javascript-jit -nomake tests -v -confirm-license

install_ubuntu.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cd /home/vagrant
1616

1717
echo 'COMPONENTS="main restricted universe multiverse"' > ~/.pbuilderrc
1818

19-
sudo pbuilder create
19+
#sudo pbuilder create
2020

2121
#get and build qt
2222

@@ -29,10 +29,13 @@ cd $QTBUILD_DIR
2929

3030
if [ ! -f $INSTALL_ARC ]
3131
then
32-
wget http://download.qt-project.org/official_releases/qt/5.1/5.1.1/single/qt-everywhere-opensource-src-5.1.1.tar.gz
33-
tar -xvf $INSTALL_ARC
32+
wget http://redisdesktop.com/vagrant/qt-everywhere-opensource-src-5.1.1.tar.gz
3433
fi
3534

35+
rm -fR ./qt-everywhere-opensource-src-5.1.1
36+
37+
tar -xvf $INSTALL_ARC
38+
3639
cd ./qt-everywhere-opensource-src-5.1.1
3740

3841
sudo ./configure -opensource -qt-libpng -qt-libjpeg -qt-xcb -qt-xkbcommon -no-kms -no-opengl -dbus-linked -openssl-linked -nomake examples -no-javascript-jit -nomake tests -confirm-license

0 commit comments

Comments
 (0)