diff options
author | comex | 2015-03-01 23:21:12 -0500 |
---|---|---|
committer | comex | 2015-03-01 23:21:12 -0500 |
commit | 1c1c09d9f126b4421658558ae00f6e0e76b451c3 (patch) | |
tree | 2ce19639fa9aad181cdf576b6dccb508133eb269 /script/gen-deb.sh | |
parent | A number of critical fixes painstakingly discovered in the slowest way possible. (diff) | |
download | substitute-1c1c09d9f126b4421658558ae00f6e0e76b451c3.tar.gz |
Add extrainst_ and postrm
Not actually tested, because I'm too tired tonight to try setting up a
real repository (as opposed to dpkg -i).
Diffstat (limited to '')
-rwxr-xr-x | script/gen-deb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/gen-deb.sh b/script/gen-deb.sh index 1848a93..f9d2960 100755 --- a/script/gen-deb.sh +++ b/script/gen-deb.sh @@ -20,8 +20,8 @@ mkdir -p $debroot/etc/rc.d ln -s /Library/Substitute/Helpers/inject-into-launchd $debroot/etc/rc.d/substitute mkdir -p $debroot/Library/LaunchDaemons cp darwin-bootstrap/com.ex.substituted.plist $debroot/Library/LaunchDaemons/ -cp -a DEBIAN $debroot/ -sed "s#{VERSION}#$version#g" DEBIAN/control > $debroot/DEBIAN/control +cp -a darwin-bootstrap/DEBIAN $debroot/ +sed "s#{VERSION}#$version#g" darwin-bootstrap/DEBIAN/control > $debroot/DEBIAN/control #... add bootstrap stuff # yay, old forks and deprecated compression fakeroot dpkg-deb -Zlzma -b $debroot out/com.ex.substitute-$version.deb |