summarylogtreecommitdiffstats
path: root/gentoo-bashrc.install
diff options
context:
space:
mode:
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
+}