X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage2%2Fcis-compressdoc;h=19ac7e54c8ae1cc541caa7acd5fceda2f095f0e2;hb=14a21d0234cc58e66d802bae9daab4bcd9b6fde3;hp=0a772657604835f2da1409b0f7381afe32573593;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/cis-compressdoc b/stage2/cis-compressdoc index 0a77265..19ac7e5 100755 --- a/stage2/cis-compressdoc +++ b/stage2/cis-compressdoc @@ -1,4 +1,6 @@ -#!/bin/sh +#!/bin/bash +set -o errexit + # First argument of this script is the package name. # Reading system configuration informations, functions and package versions. @@ -6,9 +8,8 @@ source ../sysinfos 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