Signed-off-by: Alfredo Deza <adeza@redhat.com>
set -e
+# Only run when we are a Debian or Debian-based distro
+if test -f /etc/redhat-release ; then
+ exit 0
+fi
+
basedir="/srv/debian-base"
# This used to live in a *file* on /src/ceph-build. Now it lives here because
if [ -e $basedir/$dist.tgz ]; then
echo updating $dist base.tgz
-# savelog -l -n $basedir/$dist.tgz
-# cp $basedir/$dist.tgz.0 $basedir/$dist.tgz
pbuilder update \
--basetgz $basedir/$dist.tgz \
--distribution $dist \