git remove old non-working packaging files
implements bug: 1198774 Change-Id: Iebd3eb22dd7e3b93131c298e01ac4bcf1fea004e
This commit is contained in:
parent
8b36bb32b1
commit
8ce05e7faa
@ -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
|
|
Loading…
Reference in New Issue
Block a user