21 |
if [[ -z $2 ]] |
if [[ -z $2 ]] |
22 |
then |
then |
23 |
dest=/usr/bin |
dest=/usr/bin |
|
install -d ${BINDIR}/${dest} || die |
|
24 |
fi |
fi |
25 |
|
|
26 |
|
# needed directory |
27 |
|
#minstalldir ${dest} || die |
28 |
|
|
29 |
# install our configfile |
# install our configfile |
30 |
install -m 0644 -o root -g root ${file} ${BINDIR}/${dest} || die |
minstallfile ${file} ${dest} || die |
31 |
} |
} |
32 |
|
|
33 |
# injects executables to given path |
# injects executables to given path |
44 |
if [[ -z $2 ]] |
if [[ -z $2 ]] |
45 |
then |
then |
46 |
dest=/usr/bin |
dest=/usr/bin |
|
install -d ${BINDIR}/${dest} || die |
|
47 |
fi |
fi |
48 |
|
|
49 |
|
# needed directory |
50 |
|
#minstalldir ${dest} || die |
51 |
|
|
52 |
# install our configfile |
# install our configfile |
53 |
install -m 0755 -o root -g root ${file} ${BINDIR}/${dest} || die |
minstallexec ${file} ${dest} || die |
54 |
} |
} |
55 |
|
|
56 |
# injects a patch to the sourcecode |
# injects a patch to the sourcecode |