make  install  &&

if  [  !  -e  /etc/vsftpd.conf  ];  then
  cp  ${SPELL_DIRECTORY}/vsftpd.conf  /etc                    &&
  echo  "secure_chroot_dir=/var/empty"  >>  /etc/vsftpd.conf
fi  &&

#to use in standalone mode. (!could break if those vars are renamed!)
if list_find "$INIT_INSTALLED" "vsftpd" ; then 
	if list_find "$INIT_ENABLED" "vsftpd" ; then
		sedit '1i #standalone mode (init.d) \nlisten=YES' \
		/etc/vsftpd.conf
	else
		sedit '1i #standalone mode (init.d) \n#listen=YES' \
		/etc/vsftpd.conf
	fi
fi &&

if  [  !  -d  /var/empty  ];  then
  mkdir  /var/empty
fi

