diff -Nru qtcreator-plugin-ubuntu-2.8.1.3bzr98precise0/debian/changelog qtcreator-plugin-ubuntu-2.8.1.3bzr99precise0/debian/changelog --- qtcreator-plugin-ubuntu-2.8.1.3bzr98precise0/debian/changelog 2014-02-21 02:31:19.000000000 +0000 +++ qtcreator-plugin-ubuntu-2.8.1.3bzr99precise0/debian/changelog 2014-02-21 02:31:19.000000000 +0000 @@ -1,8 +1,8 @@ -qtcreator-plugin-ubuntu (2.8.1.3bzr98precise0) precise; urgency=low +qtcreator-plugin-ubuntu (2.8.1.3bzr99precise0) precise; urgency=low - * Automatic build of revision 98 + * Automatic build of revision 99 - -- PS Jenkins bot Thu, 20 Feb 2014 19:19:41 +0000 + -- PS Jenkins bot Fri, 21 Feb 2014 02:29:05 +0000 qtcreator-plugin-ubuntu (2.8.1.3-0ubuntu1) trusty; urgency=medium diff -Nru qtcreator-plugin-ubuntu-2.8.1.3bzr98precise0/share/qtcreator/ubuntu/scripts/local_get_cordova_runtime qtcreator-plugin-ubuntu-2.8.1.3bzr99precise0/share/qtcreator/ubuntu/scripts/local_get_cordova_runtime --- qtcreator-plugin-ubuntu-2.8.1.3bzr98precise0/share/qtcreator/ubuntu/scripts/local_get_cordova_runtime 2014-02-20 19:19:34.000000000 +0000 +++ qtcreator-plugin-ubuntu-2.8.1.3bzr99precise0/share/qtcreator/ubuntu/scripts/local_get_cordova_runtime 2014-02-21 02:28:59.000000000 +0000 @@ -23,18 +23,58 @@ fi CORDOVA_PACKAGE="ubuntu-html5-platform-3.4-dev" -PAYLOAD_DIR="/usr/share/ubuntu-html5-platform-3.4/" +PAYLOAD_DIR="usr/share/ubuntu-html5-platform-3.4/" CORDOVA_CACHE=${HOME}/.cache/ubuntu-html5-platform +DOWNLOAD_DIR=${CORDOVA_CACHE}/download + +# based on the blog post of Andreas Olsson +# http://blog.bogosity.se/2012/11/03/fully-using-apt-get-download/ +setup_apt_conf_for_release () { + RELEASE=$1 + + [ -z "$RELEASE" ] && exit "setup_apt_conf_for_release" + + mkdir -p ${DOWNLOAD_DIR}/apt/{apt.conf.d,preferences.d,trusted.gpg.d,cache/lists/partial} + touch ${DOWNLOAD_DIR}/apt/status + ln -s /usr/share/keyrings/debian-archive-keyring.gpg \ + ${DOWNLOAD_DIR}/apt/trusted.gpg.d/ + ln -s /usr/share/keyrings/ubuntu-archive-keyring.gpg \ + ${DOWNLOAD_DIR}/apt/trusted.gpg.d/ + + cat > ${DOWNLOAD_DIR}/apt/downloader.conf < ${DOWNLOAD_DIR}/apt/sources.list <