You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#!/bin/bash
|
|
|
#
|
|
|
# Target dist: Debian Sid
|
|
|
DIST=sid
|
|
|
|
|
|
if [ ! -d ../../pkg/deb ] ; then
|
|
|
echo "script needs to be executed at pkg/deb dir" >&2
|
|
|
exit 1
|
|
|
fi
|
|
|
|
|
|
rm -rf ${DIST}
|
|
|
cp -r debian ${DIST}
|
|
|
|
|
|
if command -v wrap-and-sort &>/dev/null ; then
|
|
|
wrap-and-sort -sat -d ${DIST}
|
|
|
else
|
|
|
echo "WARN: wrap-and-sort (Debian package devscripts) not available."
|
|
|
fi
|
|
|
|
|
|
# clean backports scripts
|
|
|
rm -rf ${DIST}/backports
|
|
|
exit 0
|