aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/apollo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/apollo.rb')
-rw-r--r--Library/Formula/apollo.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/apollo.rb b/Library/Formula/apollo.rb
index 2ea6fecd7..6c8042f78 100644
--- a/Library/Formula/apollo.rb
+++ b/Library/Formula/apollo.rb
@@ -39,10 +39,10 @@ class Apollo < Formula
end
end
- (bin+'apollo').write <<-EOS.undent
- #!/bin/bash
- exec "#{libexec}/bin/#{name}" "$@"
- EOS
+ bin.write_exec_script libexec/'bin/apollo'
+
+ plist_path.write startup_plist
+ plist_path.chmod 0644
end
def caveats; <<-EOS.undent