From 7d9a29cbc058c1ef02a0033ec3332c229e4c6b5e Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 25 Sep 2015 14:07:25 -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