makedeb


fzf-tab-completion-git 1edbccc22021.11.13-2


Tab completion using fzf in zsh, bash, GNU readline apps (e.g. python, php -a etc.)

Click here to go back to the commit logs for fzf-tab-completion-git.

Commit:


Hash: 3c6833944e4907f0c8ef92340fecf59979aae0f8

Message: install script update

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 824bee3..d9bad8c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,10 +2,9 @@ generated-by = makedeb-makepkg
 
 pkgbase = fzf-tab-completion-git
 	pkgdesc = Tab completion using fzf in zsh, bash, GNU readline apps (e.g. python, php -a etc.)
-	pkgver = 303.53eb325
-	pkgrel = 2
+	pkgver = 304.774a6ff
+	pkgrel = 1
 	url = https://github.com/lincheney/fzf-tab-completion
-	install = fzf-tab-completion-git.install
 	arch = i686
 	arch = x86_64
 	license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index cadb27b..194efbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=fzf-tab-completion-git
 _pkgname=${pkgname%-git}
-pkgver=303.53eb325
-pkgrel=2
+pkgver=304.774a6ff
+pkgrel=1
 pkgdesc="Tab completion using fzf in zsh, bash, GNU readline apps (e.g. python, php -a etc.)"
 arch=('i686' 'x86_64')
 url="https://github.com/lincheney/fzf-tab-completion"
@@ -12,7 +12,7 @@ makedepends=('rustc' 'cargo')
 provides=("fzf-tab-completion")
 conflicts=("fzf-tab-completion")
 # replaces=("fzf-tab-completion")
-install=$pkgname.install
+postinst="${pkgname}.postinst"
 source=("${_pkgname}::git+https://github.com/lincheney/${_pkgname}.git")
 sha256sums=('SKIP')
 
diff --git a/fzf-tab-completion-git.install b/fzf-tab-completion-git.install
deleted file mode 100644
index 93e2b93..0000000
--- a/fzf-tab-completion-git.install
+++ /dev/null
@@ -1,17 +0,0 @@
-post_install() {
-  cat <<EOF
-
-If you want to use it with readline, add follows to your .inputrc: 
-
-	\$include function rl_custom_complete /usr/lib/librl_custom_complete.so
-	C-i rl_custom_complete
-
-Please read https://github.com/lincheney/fzf-tab-completion for more information.
-EOF
-}
-
-post_upgrade() {
-  post_install
-}
-
-
diff --git a/fzf-tab-completion-git.postinst b/fzf-tab-completion-git.postinst
new file mode 100644
index 0000000..5af798d
--- /dev/null
+++ b/fzf-tab-completion-git.postinst
@@ -0,0 +1,11 @@
+ #!/bin/bash 
+  cat <<EOF
+
+If you want to use it with readline, add follows to your .inputrc: 
+
+	\$include function rl_custom_complete /usr/lib/librl_custom_complete.so
+    "\t": rl_custom_complete
+
+
+Please read https://github.com/lincheney/fzf-tab-completion for more information.
+EOF