btrfs-progs: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:17:23 +00:00
parent 5ee1986e66
commit 3fa37458f4
2 changed files with 2 additions and 2 deletions

View file

@ -11,8 +11,6 @@ short_desc="Btrfs filesystem utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://btrfs.wiki.kernel.org/"
update_pattern=$pkgname' \K[\d+.]+(?= \()'
update_version="${_distver}"
do_fetch() {
git clone -b v${_distver} git://git.kernel.org/pub/scm/linux/kernel/git/kdave/${pkgname}.git ${pkgname}-${version}

View file

@ -0,0 +1,2 @@
pattern=$pkgname' \K[\d+.]+(?= \()'
version="${_distver}"