summarylogtreecommitdiffstats
path: root/depot_tools.install
diff options
context:
space:
mode:
authorAdrian Perez de Castro2014-07-07 17:26:23 +0300
committerAdrian Perez de Castro2015-06-15 01:11:14 +0200
commit04feefeccc7be0f5d8f82f64a3d75f6e9cfbba5a (patch)
tree9030ba5447641593928162e6105709f0270e8323 /depot_tools.install
downloadaur-04feefeccc7be0f5d8f82f64a3d75f6e9cfbba5a.tar.gz
depot-tools-git: Initial import
Diffstat (limited to 'depot_tools.install')
-rw-r--r--depot_tools.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/depot_tools.install b/depot_tools.install
new file mode 100644
index 000000000000..7f8d306c794e
--- /dev/null
+++ b/depot_tools.install
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+post_install()
+{
+ source /etc/profile
+
+ echo ">>>> Please note that this tools and some related projects (for example ChromeOS) use python2."
+ echo ">>>> They assume that python2 is the default python interpreter. ArchLinux default is python3, so be prepared to fix python references in your works."
+ echo ">>>> This package contains a repo_fix.sh script. Use it to fix python2 references in python's script created after 'repo init' command"
+ echo ">>>> For getting started with depot_tools, visit this page: http://dev.chromium.org/developers/how-tos/depottools"
+ echo ">>>> Run 'source /etc/profile' if you don't find any depot_tools related commands."
+}
+
+post_upgrade()
+{
+ source /etc/profile
+
+ echo ">>>> Run 'source /etc/profile' if you don't find any depot_tools related commands."
+}