diff options
author | Benedikt Böhm <bb@xnull.de> | 2014-02-06 12:11:33 +0100 |
---|---|---|
committer | Benedikt Böhm <bb@xnull.de> | 2014-02-06 12:11:33 +0100 |
commit | 971dac34c929659a4099b343be1048dafa051d5f (patch) | |
tree | a0c514e1946954fa5978da7b125bdedbb2c4feb9 | |
parent | update version. fixes #4 (diff) | |
parent | Avoid the deprecated `portageq portdir' (diff) | |
download | porticron-971dac34c929659a4099b343be1048dafa051d5f.tar.gz porticron-971dac34c929659a4099b343be1048dafa051d5f.tar.bz2 porticron-971dac34c929659a4099b343be1048dafa051d5f.zip |
Merge pull request #8 from raimue/portageq-portdir
Avoid the deprecated `portageq portdir'
-rwxr-xr-x | bin/porticron | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/porticron b/bin/porticron index d168b27..86a1f70 100755 --- a/bin/porticron +++ b/bin/porticron @@ -117,7 +117,7 @@ FQDN=$(hostname --fqdn) HOST=$(hostname -s) IP=$(dig +short ${FQDN} | tr '\n' ' ') DATE=$(date -R) -PORTDIR=$(portageq portdir) +PORTDIR=$(portageq get_repo_path $(portageq envvar EROOT) gentoo) # replace variables for var in FQDN HOST IP DATE; do |