From 4b4524f60961a408361b57c589bc94a9800f67f0 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 31 Jul 2008 21:11:28 +0200 Subject: [PATCH] install.sh: Fix spurious symlink creation --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 664464c..7259702 100755 --- a/install.sh +++ b/install.sh @@ -100,7 +100,7 @@ echo "*** Setting up our part of the website..." mkdir -p "$cfg_webroot" "$cfg_cgiroot" cp cgi/*.cgi gitweb/gitweb_config.perl "$cfg_cgiroot" ln -fs "$cfg_basedir"/Girocco "$cfg_cgiroot" -ln -fs "$cfg_reporoot" "$cfg_webreporoot" +rm -f "$cfg_webreporoot" && ln -s "$cfg_reporoot" "$cfg_webreporoot" cp gitweb/indextext.html "$cfg_webroot" mv "$cfg_basedir"/html/*.css "$cfg_basedir"/html/*.js "$cfg_webroot" cp mootools.js "$cfg_webroot" -- 2.11.4.GIT