You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!@l_prefix@/bin/openpkg rc
|
|
|
|
##
|
|
|
|
## rc.ant -- Run-Commands
|
|
|
|
##
|
|
|
|
|
|
|
|
%config
|
|
|
|
ant_enable="$openpkg_rc_def"
|
|
|
|
ant_home=`. @l_prefix@/etc/ant/ant.conf; echo $ANT_HOME`
|
|
|
|
|
|
|
|
%status -u root -o
|
|
|
|
ant_usable="unknown"
|
|
|
|
ant_active="no"
|
|
|
|
@l_prefix@/bin/ant -version >/dev/null 2>&1 &&
|
|
|
|
ant_usable="yes"
|
|
|
|
echo "ant_enable=\"$ant_enable\""
|
|
|
|
echo "ant_usable=\"$ant_usable\""
|
|
|
|
echo "ant_active=\"$ant_active\""
|
|
|
|
|
|
|
|
%env
|
|
|
|
rcService ant enable yes || exit 0
|
|
|
|
ANT_HOME="$ant_home"
|
|
|
|
export ANT_HOME
|
|
|
|
|