]> git.saurik.com Git - cydia.git/blobdiff - Library/firmware.sh
Ignore .dSYM folders I am suddenly ending up with.
[cydia.git] / Library / firmware.sh
index afaae9a01d23c40380e4161dcb05b3bed2fe98ef..f7479ba8fcf4f7273d96bf227d4f24e12bffb26f 100755 (executable)
@@ -41,6 +41,7 @@ Installed-Size: 0
 Architecture: ${arch}
 Version: ${version}
 Description: ${description}
+Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
 Tag: role::cydia
 EOF
 
@@ -49,6 +50,11 @@ EOF
 }
 # }}}
 
+output=$(mktemp "${data}"/status-tmp.XXXXXX)
+chmod 644 "${output}"
+xxxxxx=${output##*/status-tmp.}
+rm -f "${data}"/status-tmp.!("${xxxxxx}")
+
 {
 
 # Delete Old Packages {{{
@@ -135,9 +141,9 @@ EOF
 
     pseudo "cy+lib.corefoundation" "$(/usr/libexec/cydia/cfversion)" "virtual corefoundation dependency"
 
-} >"${status}"_
+} >"${output}"
 
-mv -f "${status}"{_,}
+mv -f "${output}" "${status}"
 
 if [[ ${cpu} == arm || ${cpu} == arm64 ]]; then
     if [[ ! -h /User && -d /User ]]; then