diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-09 16:56:39 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-09 16:56:39 +0200 |
commit | e61fedb6d53c070cf621024a1d7b33afdac99edf (patch) | |
tree | 177f5cd1664656209a83ded709e9faf91898cb9a | |
parent | Cool (diff) | |
download | joe-scripts-e61fedb6d53c070cf621024a1d7b33afdac99edf.tar.gz joe-scripts-e61fedb6d53c070cf621024a1d7b33afdac99edf.tar.bz2 joe-scripts-e61fedb6d53c070cf621024a1d7b33afdac99edf.tar.xz joe-scripts-e61fedb6d53c070cf621024a1d7b33afdac99edf.tar.zst joe-scripts-e61fedb6d53c070cf621024a1d7b33afdac99edf.zip |
Trying with <b>authors</b>
-rwxr-xr-x | src/update/gitjoe.pl | 4 | ||||
-rwxr-xr-x | 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/<td>" . $user . "<\\/td>/<td class=\"td_author\">" . $user . "<\\/td>/g' index.html >sedded_index.html" + "/usr/bin/sed 's/<td>" . $user . "<\\/td>/<td><b>" . $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; } |