]> git.saurik.com Git - ldid.git/blame - deb.sh
Store SHA256 as hash2 in files2 for CodeDirectory.
[ldid.git] / deb.sh
CommitLineData
15babeef
JF
1#!/bin/bash
2rm -rf _
3mkdir -p _/usr/bin
4cp -a ios/ldid _/usr/bin/ldid
5mkdir -p _/DEBIAN
6./control.sh _ >_/DEBIAN/control
7mkdir -p debs
8ln -sf debs/ldid_$(./version.sh)_iphoneos-arm.deb ldid.deb
9dpkg-deb -b _ ldid.deb
10readlink ldid.deb