diff options
author | gigamicro | 2024-04-15 14:55:46 -0400 |
---|---|---|
committer | gigamicro | 2024-04-15 14:56:45 -0400 |
commit | 56292fe0199cf0245b1981694daece58dadca16b (patch) | |
tree | 3f43626295818ff53c57f4d9a7c9358614c29f8d | |
parent | 427d8d733aac118a557541ddbcf63a2f182297dd (diff) | |
download | aur-56292fe0199cf0245b1981694daece58dadca16b.tar.gz |
add "$CACHEDIR/EElogloc" as configuration for EE.log location
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | wfinfo.sh | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -20,6 +20,6 @@ pkgbase = wfinfo-ng-git source = wfinfo-ng::git+https://github.com/knoellle/wfinfo-ng.git source = wfinfo.sh sha256sums = SKIP - sha256sums = 7800638a450794cb66e28d76e81c503750180eb79ef44135f89ddb6cdfc7baee + sha256sums = eab3243b7e80db668f398ddd6483e2f2ed212773146a8344f250f5b5e4faea31 pkgname = wfinfo-ng-git @@ -14,7 +14,7 @@ optdepends=('mlocate: to autodetect EE.log location') provides=('wfinfo') #conflicts=('wfinfo') source=("$_pkgname::git+https://github.com/knoellle/wfinfo-ng.git" 'wfinfo.sh') -sha256sums=('SKIP' '7800638a450794cb66e28d76e81c503750180eb79ef44135f89ddb6cdfc7baee') +sha256sums=('SKIP' 'eab3243b7e80db668f398ddd6483e2f2ed212773146a8344f250f5b5e4faea31') pkgver() { cd "$srcdir/$_pkgname" diff --git a/wfinfo.sh b/wfinfo.sh index 43a3a1c4bf33..cf739168c22e 100644 --- a/wfinfo.sh +++ b/wfinfo.sh @@ -13,6 +13,8 @@ fi # this would delete them, but we've already got a cache directory anyway #cleanup(){ echo Exit; rm ./*.png; exit 130; }; trap cleanup INT exec wfinfo-ng "${1-$( +# EE.log location set manually in cachedir? +cat "$CACHEDIR/EElogloc" 2>&- || # find EE.log with most recent modification time locate \*/Warframe/EE.log | xargs -rd \\n stat -c '%Y %n' | |