summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgigamicro2024-04-15 14:55:46 -0400
committergigamicro2024-04-15 14:56:45 -0400
commit56292fe0199cf0245b1981694daece58dadca16b (patch)
tree3f43626295818ff53c57f4d9a7c9358614c29f8d
parent427d8d733aac118a557541ddbcf63a2f182297dd (diff)
downloadaur-56292fe0199cf0245b1981694daece58dadca16b.tar.gz
add "$CACHEDIR/EElogloc" as configuration for EE.log location
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--wfinfo.sh2
3 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 40cde8d9ea9b..7d4887fc7e66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 02e7f91a48b5..302bd0498f75 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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' |