From 1c1c09d9f126b4421658558ae00f6e0e76b451c3 Mon Sep 17 00:00:00 2001 From: comex Date: Sun, 1 Mar 2015 23:21:12 -0500 Subject: 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). --- script/gen-deb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script') 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 -- cgit v1.2.3