summaryrefslogtreecommitdiff
path: root/usr/local/sbin/newrepo
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/sbin/newrepo')
-rwxr-xr-xusr/local/sbin/newrepo7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/local/sbin/newrepo b/usr/local/sbin/newrepo
index 1493a02..7c7539b 100755
--- a/usr/local/sbin/newrepo
+++ b/usr/local/sbin/newrepo
@@ -94,8 +94,8 @@ use IkiWiki::Setup::Standard {
destdir => \'/srv/www/piny.svcs.cs.pdx.edu/' . $reponame . '\', # PINY
url => \'http://piny.svcs.cs.pdx.edu/' . $reponame . '\', # PINY
cgiurl => \'https://cgi.piny.svcs.cs.pdx.edu/repos/' . $reponame . '/ikiwiki.cgi\', # PINY
- historyurl => \'https://cgi.piny.svcs.cs.pdx.edu/cgi-bin/cgit.cgi/' . $reponame . '/log/[[file]]\', # PINY
- diffurl => \'https://cgi.piny.svcs.cs.pdx.edu/cgi-bin/cgit.cgi/' . $reponame . '/diff/?id=[[sha1_commit]]\', # PINY
+ historyurl => \'https://cgi.piny.svcs.cs.pdx.edu/cgit/' . $reponame . '/log/[[file]]\', # PINY
+ diffurl => \'https://cgi.piny.svcs.cs.pdx.edu/cgit/' . $reponame . '/diff/?id=[[sha1_commit]]\', # PINY
templatedir => "/srv/templates",
underlaydir => "/etc/ikiwiki/share/underlay",
@@ -224,3 +224,6 @@ system( "/bin/mv $cgitrctempfile /etc/cgitrepos" ); # This is marginally racy, b
# COMPILE
system( "/usr/bin/sudo -u ikiwiki-$reponame /usr/bin/ikiwiki --setup /etc/ikiwiki/piny/$reponame.setup | grep -v 'successfully generated'" );
+
+print( "Web interface: http://piny.svcs.cs.pdx.edu/$reponame/\n" );
+print( "Repo information: https://cgi.piny.svcs.cs.pdx.edu/cgit/$reponame/\n" );