From 7786ce2a332b0eba4b3ca7c57f906a32e8715da3 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Fri, 29 Oct 2010 19:46:24 -0500 Subject: Starting repo cleanup to make this not so awful --- architecture/setup_file_overrides.mdwn | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 architecture/setup_file_overrides.mdwn (limited to 'architecture/setup_file_overrides.mdwn') diff --git a/architecture/setup_file_overrides.mdwn b/architecture/setup_file_overrides.mdwn deleted file mode 100644 index 6133a22..0000000 --- a/architecture/setup_file_overrides.mdwn +++ /dev/null @@ -1,24 +0,0 @@ -Use cases: - -### Adding post-update hooks, which requires diverting Ikiwiki's hook. - - mv /srv/git/poop.git/hooks/post-update /srv/git/poop.git/hooks/post-update-ikiwiki - cat > /srv/git/poop.git/hooks/post-update - #!/bin/sh - /srv/git/poop.git/hooks/post-update-ikiwiki & - echo This is a hook that does things! - cat > /srv/ikiwiki/piny/poop.setup.pl - foreach(@{$conf->{wrappers}}) { $_->{wrapper} =~ s/post-update/post-update-ikiwiki/; }; - rebuildrepo poop - -### Adding or removing plugins, or plugin confuration variables. - - cat > /srv/ikiwiki/piny/poop.setup.pl - push(@{$conf->{add_plugins}}, 'txt'); - rebuildrepo poop - -### Any other special confuration requests from hosted projects. - - cat > /srv/ikiwiki/piny/poop.setup.pl - $conf->{teximg_prefix} .= "\n\\newcommand{\\unit}[1]{\\ensuremath{\\, \\mathrm{#1}}}" - rebuildrepo poop -- cgit v1.2.3