media-plugins/vdr-autosort: eapi 7; keywords sorted
authorJoerg Bornkessel <hd_brummy@gentoo.org>
Sun, 26 Aug 2018 11:28:04 +0000 (13:28 +0200)
committerJoerg Bornkessel <hd_brummy@gentoo.org>
Sun, 26 Aug 2018 11:29:15 +0000 (13:29 +0200)
Package-Manager: Portage-2.3.48, Repoman-2.3.10

media-plugins/vdr-autosort/vdr-autosort-0.1.3.ebuild

index 112bab216b30f3c62baeceb2b002be65a1d1d1e1..34afecce2aca6457c420fa148d4dd0dc32197723 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI=7
 
 inherit vdr-plugin-2
 
@@ -11,7 +11,7 @@ SRC_URI="http://www.copypointburscheid.de/linux/${P}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND=">=media-video/vdr-1.3.32"
@@ -24,8 +24,8 @@ src_install() {
 }
 
 pkg_preinst() {
-       if [[ ! -L ${ROOT}/etc/vdr/channels.conf ]]; then
-               cp "${ROOT}"/etc/vdr/channels.conf "${D}"/etc/vdr/channels.conf.autosort.bak
+       if [[ ! -L ${ROOT}etc/vdr/channels.conf ]]; then
+               cp "${ROOT}"etc/vdr/channels.conf "${D}"etc/vdr/channels.conf.autosort.bak
                fowners vdr:vdr /etc/vdr/channels.conf.autosort.bak
        fi
 }