blob: d620e4227e060205817d8bcf34c3472fb978bea0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#! /bin/sh
perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/setup.sh
if [ -x /usr/bin/perl5 ]; then
PERL5=/usr/bin/perl
elif [ -x $PREFIX/bin/perl ]; then
PERL5=$PREFIX/bin/perl
fi
perl -pi -e "s=!!PERL5!!=$PERL5=" ${WRKSRC}/setup.sh
sed -e "s=!!PREFIX!!=$PREFIX=" < ${FILESDIR}/webmin.sh.sample > ${WRKDIR}/webmin.sh
exit 0
|