File: sid

package info (click to toggle)
rtpengine 13.5.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,692 kB
  • sloc: ansic: 86,814; perl: 59,954; python: 3,193; sh: 1,037; makefile: 687; asm: 211
file content (22 lines) | stat: -rwxr-xr-x 407 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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