Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #28 from kitematic/installer_fix
Browse files Browse the repository at this point in the history
Fixing installer bug if the route doesnt exist.
  • Loading branch information
seanli committed Sep 2, 2014
2 parents 6d50d91 + f56acd7 commit 1abfd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/install
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
</plist>" > /Library/LaunchAgents/com.kitematic.route.plist

# Add entries to routing table for Kitematic VM
/sbin/route delete -net 172.17.0.0 -netmask 255.255.0.0 -gateway $GATEWAY
/sbin/route delete -net 172.17.0.0 -netmask 255.255.0.0 -gateway $GATEWAY > /dev/null 2>&1 || true
/sbin/route -n add -net 172.17.0.0 -netmask 255.255.0.0 -gateway $GATEWAY

0 comments on commit 1abfd6f

Please sign in to comment.