1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
#!/bin/sh
#
# source:
# /var/cvs/projects/debian/printop/debian/dpkg.scripts/installfiles,v
#
# revision:
# @(#) installfiles,v 1.1 1999/03/12 20:19:54 jplejacq Exp
#
# copyright:
# Copyright (C) 1999 Jean Pierre LeJacq <jplejacq@quoininc.com>
#
# Distributed under the GNU GENERAL PUBLIC LICENSE.
#
# synopsis:
# . ./debian/dpkg.scripts/installfiles
#
# description:
# Install package files
#
# This is not a complete shell script. Must be included in another
# file.
install_files_override()
# postconditions:
# Return 0 if successful, exits with 1 otherwise.
#
# description:
# Install package files.
{
install_files
echo "${0}: package files: installing..."
install -m 0755\
${DH_DOPACKAGES}.src/printop\
${DH_TMPDIR}${d_pkg_bin}
install -m 0644\
${DH_DOPACKAGES}.src/CHANGES-1.12\
${DH_TMPDIR}${d_pkg_doc}/changelog
install -m 0644\
${DH_DOPACKAGES}.src/README\
${DH_TMPDIR}${d_pkg_doc}/README
install -m 0644\
debian/dpkg.src/${pkg}.index.html\
${DH_TMPDIR}${d_pkg_doc}/index.html
install -m 0644\
debian/dpkg.src/${DH_DOPACKAGES}.printop.1\
${DH_TMPDIR}${d_pkg_man}/man1/printop.1
install -m 0644\
debian/dpkg.src/${DH_DOPACKAGES}.conf\
${DH_TMPDIR}${f_pkg_etc_conf}
echo "${0}: package files: compressing..."
gzip -9 ${DH_TMPDIR}${d_pkg_doc}/changelog
gzip -9 ${DH_TMPDIR}${d_pkg_doc}/README
gzip -9 ${DH_TMPDIR}${d_pkg_man}/man1/printop.1
return 0
}
|