summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Bouvet2020-10-12 11:24:22 +0200
committerQuentin Bouvet2020-10-12 11:24:22 +0200
commit98a4ae0b84d207e754ff839cca9607eb67b8df52 (patch)
tree29216f95559517fab21c9179c6e0a8040d0f5edf
parent82a7e7a442064b5b87718b7f92942a8d641684bd (diff)
downloadaur-98a4ae0b84d207e754ff839cca9607eb67b8df52.tar.gz
Simplified .install file
-rw-r--r--bash-command-timer-git.install11
1 files changed, 2 insertions, 9 deletions
diff --git a/bash-command-timer-git.install b/bash-command-timer-git.install
index b926a89cf1b0..cda71ae29e6a 100644
--- a/bash-command-timer-git.install
+++ b/bash-command-timer-git.install
@@ -1,6 +1,5 @@
bash_command_timer_path=/usr/share/bash-command-timer/bash_command_timer.sh
-preexec_path=/usr/share/bash-prexec/bash_preexec.sh # bash-preexec dependancy
post_install() {
printf "\
@@ -8,10 +7,7 @@ post_install() {
>
> To complete installation, add the following to your bashrc:
>
-> # Define timer callback functions
-> [[ -f $bash_command_timer_path ]] && source $bash_timer_path
-> # Register callback functions with bash-preexec
-> [[ -f $preexec_path ]] && source $preexec_path
+> [[ -f $bash_command_timer_path ]] && source $bash_command_timer_path
>
>
"
@@ -25,10 +21,7 @@ post_remove() {
>
> To complete removal, remove the 'source' directives from your bashrc.
>
-> # Define timer callback functions
-> [[ -f $bash_command_timer_path ]] && source $bash_timer_path
-> # Register callback functions with bash-preexec
-> [[ -f $preexec_path ]] && source $preexec_path
+> [[ -f $bash_command_timer_path ]] && source $bash_command_timer_path
>
>
"