]> git.saurik.com Git - cycript.git/blame - dpkg-deb.sh
Avoid crash when using toCYON on String.prototype.
[cycript.git] / dpkg-deb.sh
CommitLineData
910c40de
JF
1#!/bin/bash
2flags=()
3for 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
8done
9fauxsu dpkg-deb "${flags[@]}" "$@"