]> git.saurik.com Git - cycript.git/blob - dpkg-deb.sh
Temporary hack to support older JavaScriptCore :/.
[cycript.git] / dpkg-deb.sh
1 #!/bin/bash
2 flags=()
3 for Z in lzma bzip2 gzip; do
4 if dpkg-deb -Z"$Z" -h &>/dev/null && which "$Z" &>/dev/null; then
5 flags+=(-Z"$Z")
6 break
7 fi
8 done
9 fauxsu dpkg-deb "${flags[@]}" "$@"