From 98d484e66bcc229a5b801216ce24c9f9a961f9c3 Mon Sep 17 00:00:00 2001 From: Joerg Bornkessel Date: Mon, 14 Apr 2014 22:20:34 +0200 Subject: fixed 'portageq portdir' deprecated warning --- ChangeLog | 4 ++++ vdrplugin-rebuild/vdrplugin-rebuild | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 13380c8..1359478 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gentoo-vdr-scripts # $Id$ + 14 Apr 2014; Joerg Bornkessel + vdrplugin-rebuild/vdrplugin-rebuild: + fixed 'portageq portdir' deprecated warning + 15 Feb 2014; Joerg Bornkessel Makefile, etc/systemd/system/vdr.service.d/00-gentoo-vdr-user.conf, usr/lib/systemd/system/vdr.service, diff --git a/vdrplugin-rebuild/vdrplugin-rebuild b/vdrplugin-rebuild/vdrplugin-rebuild index 700b4bf..5fddc34 100644 --- a/vdrplugin-rebuild/vdrplugin-rebuild +++ b/vdrplugin-rebuild/vdrplugin-rebuild @@ -18,14 +18,14 @@ if [[ `id -u` != 0 ]]; then exit 1 fi -R_VERSION="0.3" +R_VERSION="0.4" R_DBPATH="${ROOT}/usr/share/vdr/vdrplugin-rebuild" R_PORTAGEQ="`type -p portageq 2>/dev/null`" if [[ -z ${R_PORTAGEQ} ]]; then echo "** FATAL: Unable to find portageq." exit 1 fi -R_PORTDIR=`${R_PORTAGEQ} portdir` +R_PORTDIR=$(${R_PORTAGEQ} get_repo_path $(${R_PORTAGEQ} envvar EROOT) gentoo) R_VDBPATH=`${R_PORTAGEQ} vdb_path` R_OPTION_X=0; R_OPTION_C=0; -- cgit v1.2.3-65-gdbad