1
0
mirror of https://github.com/bluekitchen/btstack.git synced 2025-03-30 07:21:20 +00:00

ignore error on launchctl unload

This commit is contained in:
matthias.ringwald 2009-10-29 21:35:26 +00:00
parent 58036f3464
commit 4d56a8cb9d

@ -26,7 +26,7 @@ mkdir -p $PACKAGE/Library/LaunchDaemons/
cp resources/ch.ringwald.BTstack.plist $PACKAGE/Library/LaunchDaemons/
echo "#!/bin/sh" > $PACKAGE/DEBIAN/postinst
echo "/bin/launchctl unload /Library/LaunchDaemons/ch.ringwald.BTstack.plist" >> $PACKAGE/DEBIAN/postinst
echo "/bin/launchctl unload /Library/LaunchDaemons/ch.ringwald.BTstack.plist 2&> /dev/null" >> $PACKAGE/DEBIAN/postinst
echo "/bin/launchctl load /Library/LaunchDaemons/ch.ringwald.BTstack.plist" >> $PACKAGE/DEBIAN/postinst
chmod +x $PACKAGE/DEBIAN/postinst
echo "#!/bin/sh" > $PACKAGE/DEBIAN/prerm