]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/tests/test_neurodebian-repository-deployment
RF: absorb neurodebian-repository into neurodebian package (and rename debconf variab...
[neurodebian.git] / tools / tests / test_neurodebian-repository-deployment
index 19e9a171aef90df9cd5841c72774c3819a1694ac..0a4583ab137d32cc1fda62b78b76b6d3996f3211 100755 (executable)
@@ -5,13 +5,13 @@ set -ex
 apt_file=/etc/apt/sources.list.d/local.list
 
 # clean up from a previous test
-dpkg --purge neurodebian-repository neurodebian-keyring || :
-echo PURGE | debconf-communicate neurodebian-repository || :
+dpkg --purge neurodebian neurodebian-keyring || :
+echo PURGE | debconf-communicate neurodebian || :
 rm -rf /tmp/apt $apt_file;
 
 mkdir -p /tmp/apt; cd /tmp/apt;
 rm -f neurodebian-*deb; apt-get update -y; apt-get install -y wget;
-wget http://www.onerussian.com/tmp/neurodebian-repository_0.33~a1_all.deb;
+wget http://www.onerussian.com/tmp/neurodebian_0.33~a1_all.deb;
 wget http://www.onerussian.com/tmp/neurodebian-keyring_0.33~a1_all.deb;
 
 # generate APT repo
@@ -19,7 +19,7 @@ apt-get install -y dpkg-dev ;  dpkg-scanpackages  . /dev/null > Packages
 # Add it to the list of available
 echo "deb file:///tmp/apt ./" >| $apt_file; apt-get update
 # Install the beast
-apt-get install -y --allow-unauthenticated neurodebian-repository
+apt-get install -y --allow-unauthenticated neurodebian
 # Verify that it has correct entries
 # Very cruel way to figure out the default release. Would fail if
 # options, such as multiarch, are specified after deb
@@ -28,7 +28,7 @@ grep -E "^deb\s+http.* $release main\s*\$" /etc/apt/sources.list.d/neurodebian.s
 grep -E '^deb\s+http.* data main\s*$' /etc/apt/sources.list.d/neurodebian.sources.list
 # May be even retrospect stored debconf configuration
 apt-get install debconf-utils
-debconf-get-selections | grep neurodebian-repository/release.*select.*auto
+debconf-get-selections | grep neurodebian/release.*select.*auto
 # And apt-get must be working
 apt-get update
 # Make sure it is active