makedeb


asdf-vm 0.9.0-1


Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

Click here to go back to the commit logs for asdf-vm.

Commit:


Hash: e48542128dc0144b59a7560456197f54368621f5

Message: Switch to postinst

Diff


diff --git a/.SRCINFO b/.SRCINFO
index f1040a2..ef81726 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
+generated-by = makedeb-makepkg
+
 pkgbase = asdf-vm
 	pkgdesc = Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
 	pkgver = 0.9.0
 	pkgrel = 1
 	url = https://asdf-vm.com
-	install = asdf-vm.install
 	arch = any
 	license = MIT
 	depends = git
diff --git a/PKGBUILD b/PKGBUILD
index 8a6b6e6..c1974ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ optdepends=(
 	'bash-completion: For completions to work in Bash'
 	'unzip: Needed by some plugins, like asdf-elixir'
 )
-install=asdf-vm.install
+postinst=postinst
 source=(
 	"$pkgname-$pkgver.tar.gz::https://github.com/asdf-vm/asdf/archive/v$pkgver.tar.gz"
 )
diff --git a/asdf-vm.install b/asdf-vm.install
deleted file mode 100644
index 6ed25a1..0000000
--- a/asdf-vm.install
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-
-post_install() {
-	cat <<-'EOF'
-
-		Follow the official instructions [1] to make asdf-vm work, replacing
-		"$HOME/.asdf" with "/opt/asdf-vm". The completions are already installed, just
-		make sure your shell is configured to use them.
-
-		[1] https://asdf-vm.com/#/core-manage-asdf?id=add-to-your-shell
-
-	EOF
-}