Merge "git remove old non-working packaging files"

This commit is contained in:
Jenkins 2013-07-09 20:24:47 +00:00 committed by Gerrit Code Review
commit 63c5521229
1 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
#!/bin/bash
ALIEN=`which alien`
if [ $? -ne 0 ]; then
echo "You must have alien installed to build debian packages"
exit 1
fi
FAKEROOT=""
if [ `id -u` != 0 ]; then
FAKEROOT=`which fakeroot`
if [ $? -ne 0 ]; then
echo "You must be root or have fakeroot installed to build debian packages"
exit 1
fi
fi
ls dist/*.rpm >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "You must build rpms before building debian packages"
exit 1
fi
$FAKEROOT $ALIEN -c -v -d dist/*.noarch.rpm