diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-04-14 22:20:34 +0200 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-04-14 22:20:34 +0200 |
commit | 98d484e66bcc229a5b801216ce24c9f9a961f9c3 (patch) | |
tree | 1afb6c69e6e2170098b726ac8b2c7aa6a1a0c318 | |
parent | git push test (diff) | |
download | gentoo-vdr-scripts-98d484e66bcc229a5b801216ce24c9f9a961f9c3.tar.gz gentoo-vdr-scripts-98d484e66bcc229a5b801216ce24c9f9a961f9c3.tar.bz2 gentoo-vdr-scripts-98d484e66bcc229a5b801216ce24c9f9a961f9c3.zip |
fixed 'portageq portdir' deprecated warning
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vdrplugin-rebuild/vdrplugin-rebuild | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,10 @@ # ChangeLog for gentoo-vdr-scripts # $Id$ + 14 Apr 2014; Joerg Bornkessel <hd_brummy@gentoo.org> + vdrplugin-rebuild/vdrplugin-rebuild: + fixed 'portageq portdir' deprecated warning + 15 Feb 2014; Joerg Bornkessel <hd_brummy@gentoo.org> 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; |