From e61fedb6d53c070cf621024a1d7b33afdac99edf Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 9 Jul 2020 16:56:39 +0200 Subject: Trying with authors --- src/update/gitjoe.pl | 4 ++-- src/update/vps.pl | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/update/gitjoe.pl b/src/update/gitjoe.pl index 4021abd..f2c4950 100755 --- a/src/update/gitjoe.pl +++ b/src/update/gitjoe.pl @@ -49,7 +49,6 @@ sub stagit_generate { '-c', '/usr/local/bin/stagit -l 400 ' . $home_dir . $repos[$i] . '/' ); - print "repoed\n"; copy('../style.css', './style.css'); copy('../logo.png', './logo.png'); $i += 1; @@ -63,7 +62,7 @@ sub stagit_generate { system( '/usr/local/bin/dash', '-c', - "/usr/bin/sed 's/" . $user . "<\\/td>/" . $user . "<\\/td>/g' index.html >sedded_index.html" + "/usr/bin/sed 's/" . $user . "<\\/td>/" . $user . "<\\/b><\\/td>/g' index.html >sedded_index.html" ); system( '/usr/local/bin/dash', @@ -93,6 +92,7 @@ sub main { stagit_generate($users[$i], @repos); $i += 1; } + print "Updated GitJoe index.\n"; exit; } diff --git a/src/update/vps.pl b/src/update/vps.pl index 77c64ff..3f98594 100755 --- a/src/update/vps.pl +++ b/src/update/vps.pl @@ -20,6 +20,7 @@ sub main { '-c', 'git -C /root/scripts pull >/dev/null 2>&1' ); + print "Updated jozan website, git website and scripts.\n"; exit; } -- cgit v1.2.3