mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Bit of cleaning in build-sources
This commit is contained in:
parent
5756e8f221
commit
4a484ff6a5
1 changed files with 3 additions and 11 deletions
|
@ -4,23 +4,15 @@ PKG_PATH=$1
|
||||||
|
|
||||||
apt-get -q update
|
apt-get -q update
|
||||||
|
|
||||||
VERSION=$(sed 's/\..*//' /etc/debian_version)
|
|
||||||
if [[ "$VERSION" == '7' ]]; then
|
|
||||||
apt-get -q -y -t wheezy-backports install devscripts
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd $PKG_PATH
|
cd $PKG_PATH
|
||||||
|
|
||||||
echo \
|
echo "--------------------------------"
|
||||||
"******************************************************************************"
|
|
||||||
echo "Installing build-dependencies..."
|
echo "Installing build-dependencies..."
|
||||||
|
|
||||||
mk-build-deps -i -r -t "apt-get --no-install-recommends -y" \
|
mk-build-deps -i -r -t "apt-get --no-install-recommends -y" || exit 1
|
||||||
|| (echo "Error." && exit 1)
|
|
||||||
rm -f *build-deps*_all.deb
|
rm -f *build-deps*_all.deb
|
||||||
|
|
||||||
echo \
|
echo "--------------------------------"
|
||||||
"******************************************************************************"
|
|
||||||
echo "Creating source package..."
|
echo "Creating source package..."
|
||||||
|
|
||||||
# Creating source package without signing it
|
# Creating source package without signing it
|
||||||
|
|
Loading…
Reference in a new issue