summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Faerevaag2016-09-08 01:35:25 +0200
committerMarkus Faerevaag2016-09-08 01:35:25 +0200
commitbfdde20b51668c34c6afba09ef232eba6cd7391e (patch)
treeef5dc84d08322dbffdd22f9f9baa413bc444f0cb
parent13844adf46bcfc5f92e7e409e30e255d5ab18e06 (diff)
downloadaur-bfdde20b51668c34c6afba09ef232eba6cd7391e.tar.gz
fix post install help
-rw-r--r--.INSTALL13
-rw-r--r--.install15
2 files changed, 15 insertions, 13 deletions
diff --git a/.INSTALL b/.INSTALL
deleted file mode 100644
index 2960da26a25c..000000000000
--- a/.INSTALL
+++ /dev/null
@@ -1,13 +0,0 @@
-echo "======================================================"
-echo " "
-echo " to use wd ... "
-echo " copy and source desired shell's wrapper "
-echo " "
-echo " wrappers in ${pkgdir}/usr/share/wd/wd{.sh|.zsh|.fish}"
-echo " "
-echo " example for bash: "
-echo " # mkdir ~/bin/ "
-echo " # cp ${pkgdir}/usr/share/wd/wd.sh ~/bin/ "
-echo " # echo \"source ~/bin/wd.sh\" >> ~/.bashrc "
-echo " "
-echo "======================================================"
diff --git a/.install b/.install
new file mode 100644
index 000000000000..f1b1a01d7604
--- /dev/null
+++ b/.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo "======================================================"
+ echo " "
+ echo " to use wd ... "
+ echo " copy and source desired shell's wrapper "
+ echo " "
+ echo " wrappers in ${pkgdir}/usr/share/wd/wd{.sh|.zsh|.fish}"
+ echo " "
+ echo " example for bash: "
+ echo " # mkdir ~/bin/ "
+ echo " # cp ${pkgdir}/usr/share/wd/wd.sh ~/bin/ "
+ echo " # echo \"source ~/bin/wd.sh\" >> ~/.bashrc "
+ echo " "
+ echo "======================================================"
+}