mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
[enh] remove unnecessary test
This commit is contained in:
parent
d713894752
commit
7ae2918486
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||||
cp ../conf/plugins.local.php $final_path/conf/plugins.local.php.bak
|
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
|
# STORE THE CHECKSUM OF THE CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue