14 |
echo "${pname}" |
echo "${pname}" |
15 |
} |
} |
16 |
|
|
|
# get the bindir right with splitpackages |
|
|
mbindir() |
|
|
{ |
|
|
echo "${BINDIR}" |
|
|
} |
|
|
|
|
17 |
# installs initscripts |
# installs initscripts |
18 |
# minstallrc /path/to/rc-script {destfilename} |
# minstallrc /path/to/rc-script {destfilename} |
19 |
minstallrc() |
minstallrc() |
468 |
|
|
469 |
|
|
470 |
# installs logrotate configuration files |
# installs logrotate configuration files |
471 |
# minstallpam /path/to/logrotatefile {destfilename} |
# minstalllog /path/to/logrotatefile {destfilename} |
472 |
minstalllog() |
minstalllog() |
473 |
{ |
{ |
474 |
local logfile |
local logfile |
648 |
source="$2" |
source="$2" |
649 |
dest="$3" |
dest="$3" |
650 |
fi |
fi |
651 |
|
|
652 |
|
if [[ $1 = -a ]] |
653 |
|
then |
654 |
|
opts="--archive" |
655 |
|
source="$2" |
656 |
|
dest="$3" |
657 |
|
fi |
658 |
|
|
659 |
[[ -z ${source} ]] && die "No source given." |
[[ -z ${source} ]] && die "No source given." |
660 |
[[ -z ${dest} ]] && die "No dest given." |
[[ -z ${dest} ]] && die "No dest given." |