X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/fda0e863fd40edba13706020957933243c6e59f1..dfaac1daef3116346d25c48b8709bfec253ab3ff:/Library/firmware.sh?ds=sidebyside diff --git a/Library/firmware.sh b/Library/firmware.sh index ee8e26a3..a45fd218 100755 --- a/Library/firmware.sh +++ b/Library/firmware.sh @@ -3,7 +3,7 @@ version=$(sw_vers -productVersion) if grep '^Package: firmware$' /var/lib/dpkg/status >/dev/null; then - cat /var/lib/dpkg/status | while read -r line; do + cat /var/lib/dpkg/status | while IFS= read -r line; do if [[ ${line} == 'Package: firmware' ]]; then firmware= elif [[ ${line} == '' ]]; then @@ -27,7 +27,7 @@ Maintainer: Jay Freeman (saurik) Architecture: darwin-arm Version: ${version} Description: almost impressive Apple frameworks -Name: Apple iPhone Firmware +Name: iPhone Firmware EOF fi && mv -f /var/lib/dpkg/status{_,}