From 412d2fdba6a55deefee87bc3d238a4944d79f3d1 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 2 Nov 2020 19:25:11 +0100 Subject: Indent update --- src/update/gitjoe.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/update/gitjoe.pl b/src/update/gitjoe.pl index bc78c05..5907d58 100755 --- a/src/update/gitjoe.pl +++ b/src/update/gitjoe.pl @@ -47,7 +47,7 @@ sub stagit_generate { system( '/usr/local/bin/stagit', $home_dir . $repos[$i] . '/' - ); + ); copy('../style.css', './style.css'); copy('../logo.png', './logo.png'); $i += 1; @@ -57,22 +57,22 @@ sub stagit_generate { '/usr/local/bin/dash', '-c', '/usr/local/bin/stagit-index ' . $repos_line . '>index.html' - ); + ); system( '/usr/local/bin/dash', '-c', "/usr/local/bin/gsed -i 's/" . $user . "<\\/td>/" . $user . "<\\/td>/g' index.html" - ); + ); system( '/usr/local/bin/dash', '-c', "/usr/local/bin/gsed -i 's/Repositories<\\/span><\\/td>/

" . $user . " - Repositories<\\/h1><\\/span><\\/td><\\/tr><\\/td>Back to GitJoe<\\/a><\\/td><\\/tr>/' index.html" - ); + ); system( '/usr/local/bin/dash', '-c', "/usr/local/bin/gsed -i 's/log.html/files.html/g' index.html" - ); + ); return; } @@ -98,7 +98,7 @@ sub main { '/bin/rm', '-rf', SITE_DIR . $users[$i] - ); + ); print "Moving user " . colored($users[$i], 'bold green') . " newly generated directory to " . colored(SITE_DIR, 'bold') . ".\n"; move(TMP_DIR . $users[$i], SITE_DIR . $users[$i]); $i += 1; -- cgit v1.2.3