summaryrefslogtreecommitdiff
path: root/pcr/bash-dynamic-completion/dynamic_completion.install
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-05-31 00:55:29 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-05-31 00:55:29 -0300
commit88298294694d9003db6f36ecffbe0ed19bddf4c7 (patch)
tree62deafffa136c90ac387532c8ebdb09598989f6f /pcr/bash-dynamic-completion/dynamic_completion.install
parentc35868d09ecbb0df594d8b3f1f452512e404d59b (diff)
parent925a12a43c2d8cda9f6c0d7e265c54694d5bc1fe (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/bash-dynamic-completion/dynamic_completion.install')
-rw-r--r--pcr/bash-dynamic-completion/dynamic_completion.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/pcr/bash-dynamic-completion/dynamic_completion.install b/pcr/bash-dynamic-completion/dynamic_completion.install
new file mode 100644
index 000000000..bd2fb0c5b
--- /dev/null
+++ b/pcr/bash-dynamic-completion/dynamic_completion.install
@@ -0,0 +1,8 @@
+post_install() {
+ chmod 744 /etc/cron.monthly/dynamic_completion.sh
+ echo "Executing /etc/cron.monthly/dynamic_completion.sh"
+ /etc/cron.monthly/dynamic_completion.sh
+
+ echo "Please insert this line into /etc/bash.bashrc instead of calling /etc/bash_completion"
+ . /etc/bash_dyncompletion
+}