diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-04-24 13:07:03 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-04-24 13:07:03 +0000 |
commit | c67005689abdd4593961967eeeaabadf76cb20bc (patch) | |
tree | 31a81def7a44d7bc76f2fc8b59446ed9f92df622 /eclass | |
parent | Bump slovak dict to latest version. Using the date from ftp folder. (diff) | |
download | gentoo-2-c67005689abdd4593961967eeeaabadf76cb20bc.tar.gz gentoo-2-c67005689abdd4593961967eeeaabadf76cb20bc.tar.bz2 gentoo-2-c67005689abdd4593961967eeeaabadf76cb20bc.zip |
Oops didn't commit the dir supporting version. This replaces plain doins with proper newins command.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 6 | ||||
-rw-r--r-- | eclass/myspell-r2.eclass | 19 |
2 files changed, 16 insertions, 9 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 0237e7cf83e7..2251f89738fe 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.222 2012/04/24 12:49:09 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.223 2012/04/24 13:07:03 scarabeus Exp $ + + 24 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org> myspell-r2.eclass: + Oops didn't commit the dir supporting version. This replaces plain doins with + proper newins command. 24 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org> +myspell-r2.eclass: Add myspell-r2.eclass which is just eclassdoced myspell.eclass with removed diff --git a/eclass/myspell-r2.eclass b/eclass/myspell-r2.eclass index be52526dd264..b9715aef8b91 100644 --- a/eclass/myspell-r2.eclass +++ b/eclass/myspell-r2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/myspell-r2.eclass,v 1.1 2012/04/24 12:49:09 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/myspell-r2.eclass,v 1.2 2012/04/24 13:07:03 scarabeus Exp $ # @ECLASS: aspell-dict.eclass # @MAINTAINER: @@ -61,7 +61,7 @@ myspell-r2_src_unpack() { # @DESCRIPTION: # Install the dictionaries to the right places. myspell-r2_src_install() { - local x + local x target # Following the debian directory layout here. # DICT: /usr/share/hunspell @@ -74,20 +74,23 @@ myspell-r2_src_install() { insinto /usr/share/hunspell for x in "${MYSPELL_DICT[@]}"; do - doins "${x}" || die - dosym /usr/share/hunspell/"${x}" /usr/share/myspell/"${x}" || die + target="${x##*/}" + newins "${x}" "${target}" || die + dosym /usr/share/hunspell/"${target}" /usr/share/myspell/"${target}" || die done insinto /usr/share/mythes for x in "${MYSPELL_THES[@]}"; do - doins "${x}" || die - dosym /usr/share/mythes/"${x}" /usr/share/myspell/"${x}" || die + target="${x##*/}" + newins "${x}" "${target}" || die + dosym /usr/share/mythes/"${target}" /usr/share/myspell/"${target}" || die done insinto /usr/share/hyphen for x in "${MYSPELL_HYPH[@]}"; do - doins "${x}" || die - dosym /usr/share/hyphen/"${x}" /usr/share/myspell/"${x}" || die + target="${x##*/}" + newins "${x}" "${target}" || die + dosym /usr/share/hyphen/"${target}" /usr/share/myspell/"${target}" || die done # Readme and so on |