File: installtemplates.sh

package info (click to toggle)
egenix-mx-base 3.2.8-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,420 kB
  • ctags: 6,208
  • sloc: ansic: 22,304; python: 18,124; sh: 137; makefile: 121
file content (18 lines) | stat: -rw-r--r-- 494 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

set -e

VERSIONS="$*"
PACKAGES="BeeBase DateTime Queue Proxy Stack TextTools Tools UID URL"

for ver in $VERSIONS; do
    for pkg in $PACKAGES; do
        debpkg=python-egenix-mx$(echo -n $pkg | tr '[:upper:]' '[:lower:]')-doc

        install -d debian/$debpkg/usr/share/doc-base
        sed -e "s/@PKGNAME@/$debpkg/g" \
            -e "s/@FULLNAME@/eGenix mx$pkg/g" \
            -e "s/@PKG@/mx$pkg/g" \
            <debian/docbase.template >debian/$debpkg.doc-base
    done
done