From fd14cdd5a13d0d82a51ce26a9f7be75e69e4d917 Mon Sep 17 00:00:00 2001 From: kados Date: Fri, 31 Mar 2006 22:32:49 +0000 Subject: [PATCH] Create symlink from intranet/zebra to head zebra directory --- misc/sync_koha_plugin.pl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/misc/sync_koha_plugin.pl b/misc/sync_koha_plugin.pl index d1eb55fe85..d1f3d2aa0b 100755 --- a/misc/sync_koha_plugin.pl +++ b/misc/sync_koha_plugin.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl -w use strict; +use C4::Context; use Getopt::Long; my %opt = (); @@ -137,6 +138,13 @@ system( $opt{head_dir}.'/misc/zebra/usmarc/record.abs' ); +## Create symlink from intranet/zebra to head zebra directory +system( + 'ln', + '-s', + $opt{head_dir}.'/misc/zebra/usmarc', + C4::Context->config("intranetdir").'/zebra' +); print "Finished\n\nRemember, you still need to: -- 2.39.2