From 1f147973e5d335b2f05376c69380c80b24bc130d Mon Sep 17 00:00:00 2001 From: Iain C Docherty Date: Mon, 22 Feb 2016 04:02:33 -0500 Subject: [PATCH] Don't need to update index file anymore --- bin/deploy.pl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bin/deploy.pl b/bin/deploy.pl index 3c8e0900..0003cba0 100755 --- a/bin/deploy.pl +++ b/bin/deploy.pl @@ -143,12 +143,6 @@ END_TEXT print {$fh} $index; close $fh; - out('Deleting file: /data/Lacuna-Server/var/www/public/index.html'); - out("Link: [$index_file] to /data/Lacuna-Server/var/www/public/index.html"); - - unlink('/data/Lacuna-Server/var/www/public/index.html'); - symlink($index_file, '/data/Lacuna-Server/var/www/public/index.html'); - my $allfiles = $s3bucket->list_all({prefix => $prefix.'/'}); for my $key (@{ $allfiles->{keys} }) { my $file = $key->{key}; -- 2.51.2