Hello,
as you know when we write a tools, we must change bash code to C language .
please help me to know how can i convert this part of bash code to C.
declare -a cydia
cydia=($CYDIA)
if [[ $1 == install || $1 == upgrade ]]; then
if [[ ${CYDIA+@} ]]; then
eval "echo 'finish:restart' >&${cydia[0]}"
fi
fi
thanks a lot