From 14b8b4def428f46e41242122ec3b3b393f10c176 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 25 Sep 2015 14:06:35 -0400
Subject: [PATCH] Remove also old .htaccess file that is not used anymore (#1489980)

---
 bin/installto.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/bin/installto.sh b/bin/installto.sh
index 4be6528..bd8e97b 100755
--- a/bin/installto.sh
+++ b/bin/installto.sh
@@ -60,6 +60,8 @@
       break;
     }
   }
+  // remove old (<1.0) .htaccess file
+  @unlink("$target_dir/program/.htaccess");
   echo "done.\n\n";
 
   if (is_dir("$target_dir/skins/default")) {

--
Gitblit v1.9.1