summarylogtreecommitdiffstats
path: root/gentoo-bashrc.install
diff options
context:
space:
mode:
authorMiguel Revilla2015-07-02 16:52:21 +0200
committerMiguel Revilla2015-07-02 16:52:21 +0200
commit85672a561d7c0d99e7fb37e3a986ce82c83fa112 (patch)
tree4ededc9245514bb615c05d0d6b8c2ab6e18f454e /gentoo-bashrc.install
downloadaur-85672a561d7c0d99e7fb37e3a986ce82c83fa112.tar.gz
Initial import
Diffstat (limited to 'gentoo-bashrc.install')
-rw-r--r--gentoo-bashrc.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/gentoo-bashrc.install b/gentoo-bashrc.install
new file mode 100644
index 00000000000..85f772e713b
--- /dev/null
+++ b/gentoo-bashrc.install
@@ -0,0 +1,22 @@
+pkgname=gentoo-bashrc
+
+post_install() {
+ cat << _EOF
+
+==> IMPORTANT!!!
+==> To prevent overwriting your existing .bashrc, the file
+==> was installed to /usr/share/gentoo-bashrc/bashrc
+==>
+==> Please examine that file, adding your own important
+==> settings and local variables to it before replacing your
+==> existing bashrc. Gentoo's bashrc also includes a
+==> color scheme for root, so you may consider copying it to
+==> /root/.bashrc after also copying any local variables there
+==> to the new .bashrc
+
+_EOF
+}
+
+post_upgrade() {
+ post_install $1
+}