+ if [[ ${cpu} == arm || ${cpu} == arm64 ]]; then
+ os=ios
+ else
+ os=macosx
+ fi
+
+ pseudo "cy+os.${os}" "${version}" "virtual operating system dependency"
+ pseudo "cy+cpu.${cpu}" "0" "virtual CPU dependency"
+
+ name=${model%%*([0-9]),*([0-9])}
+ version=${model#${name}}
+ name=$(lower <<<${name})
+ version=${version/,/.}
+ pseudo "cy+model.${name}" "${version}" "virtual model dependency"
+
+ pseudo "cy+kernel.$(lower <<<$(sysctl -n kern.ostype))" "$(sysctl -n kern.osrelease)" "virtual kernel dependency"
+
+ pseudo "cy+lib.corefoundation" "$(/usr/libexec/cydia/cfversion)" "virtual corefoundation dependency"
+
+} >"${output}"
+
+mv -f "${output}" "${status}"
+
+if [[ ${cpu} == arm || ${cpu} == arm64 ]]; then
+ if [[ ! -h /User && -d /User ]]; then
+ cp -afT /User /var/mobile
+ fi && rm -rf /User && ln -s "/var/mobile" /User
+
+ echo 6 >/var/lib/cydia/firmware.ver
+fi