From 7ae29184869bdd03f20bdeb44eef6c08286650a4 Mon Sep 17 00:00:00 2001 From: Gofannon Date: Sat, 15 Sep 2018 21:31:24 +0200 Subject: [PATCH] [enh] remove unnecessary test --- scripts/install | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/install b/scripts/install index e1460a8..4b0ee72 100755 --- a/scripts/install +++ b/scripts/install @@ -157,14 +157,6 @@ cp $final_path/inc/preload.php.dist $final_path/inc/preload.php cp ../conf/plugins.local.php $final_path/conf cp ../conf/plugins.local.php $final_path/conf/plugins.local.php.bak -# Create file if it does not exist -if [ ! -f "$final_path/conf/local.protected.php" ]; then - cp ../conf/local.protected.php $final_path/conf - - # Set the default "admin" - ynh_replace_string "__YNH_ADMIN_USER__" "$admin" "$final_path/conf/local.protected.php" -fi - #================================================= # STORE THE CHECKSUM OF THE CONFIG FILE #=================================================