about summary refs log tree commit diff
path: root/src/etc/pkg/Distribution.xml
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-28 14:35:43 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-28 18:29:29 -0700
commitbec333c4bc9d414c7f393adfdb8d8ab2d394bb37 (patch)
tree9c06e33fc787586ab5bb9ba5174caf782753c46b /src/etc/pkg/Distribution.xml
parentb8601a3d8b91ad3b653d143307611f2f5c75617e (diff)
downloadrust-bec333c4bc9d414c7f393adfdb8d8ab2d394bb37.tar.gz
rust-bec333c4bc9d414c7f393adfdb8d8ab2d394bb37.zip
dist: Tweak the OSX pkg installer
This performs a few touch-ups to the OSX installer:

* A rust logo is shown during installation
* The installation happens to /usr/local by default (instead of /)
* A new welcome screen is shown that's slightly more relevant
Diffstat (limited to 'src/etc/pkg/Distribution.xml')
-rw-r--r--src/etc/pkg/Distribution.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/etc/pkg/Distribution.xml b/src/etc/pkg/Distribution.xml
index 9c2e5d65884..c7383c0bb1a 100644
--- a/src/etc/pkg/Distribution.xml
+++ b/src/etc/pkg/Distribution.xml
@@ -14,9 +14,13 @@
             <line choice="org.rust-lang.rust"/>
         </line>
     </choices-outline>
-    <choice id="default"/>
+    <choice id="default"
+            customLocation="usr/local"/>
     <choice id="org.rust-lang.rust" visible="false">
         <pkg-ref id="org.rust-lang.rust"/>
     </choice>
     <pkg-ref id="org.rust-lang.rust" version="0" onConclusion="none">rust.pkg</pkg-ref>
+    <welcome file="welcome.rtf" mime-type="text/enriched"/>
+    <background file="rust-logo.png" mime-type="image/png"
+                alignment="bottomleft"/>
 </installer-gui-script>