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};