From 04967594c799619cf3bc2df54204f30aae112b2d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 2 Aug 2026 16:28:59 +0300 Subject: gogios: read check_shuriken_age from $HOME/git/shuriken.sh (Rex __FILE__ is internal) --- frontends/Rexfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontends/Rexfile b/frontends/Rexfile index b673897..4395717 100644 --- a/frontends/Rexfile +++ b/frontends/Rexfile @@ -11,7 +11,6 @@ use Rex -feature => [ '1.14', 'exec_autodie' ]; use Rex::Logger; use File::Slurp; -use File::Basename qw(dirname); # REX CONFIG SECTION @@ -652,9 +651,9 @@ task 'gogios', mode => '744'; # Shuriken album-age check plugin (canonical copy lives in the shuriken.sh - # repo; read it from the sibling checkout so there is one source of truth). + # repo; read it from the homelab checkout so there is one source of truth). file '/usr/local/bin/check_shuriken_age', - content => read_file( dirname(__FILE__) . '/../../shuriken.sh/contrib/check_shuriken_age' ), + content => read_file( $ENV{HOME} . '/git/shuriken.sh/contrib/check_shuriken_age' ), owner => 'root', group => 'wheel', mode => '755'; -- cgit v1.2.3