Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (20 sloc) 0.479 kb
#!/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
Jump to Line
Something went wrong with that request. Please try again.