#!/bin/sh
+set -o errexit
+
# First argument of this script is the package name.
# Reading system configuration informations, functions and package versions.
source ../functions
source ../packages-list
-CWD=$(pwd)
-
-install -m755 ${CWD}/misc/compressdoc /usr/sbin &&
+# If not already installed by previous invocation of this script:
+install -m755 ${SCRDIR}/misc/compressdoc /usr/sbin
# Compressing man pages with bzip2
/usr/sbin/compressdoc --bz2