mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
purge plugin "logautherror" (not compatible)
This commit is contained in:
parent
e3ef8657a7
commit
d9e9f93281
3 changed files with 8 additions and 13 deletions
|
@ -1,6 +0,0 @@
|
|||
SOURCE_URL=https://github.com/mallchin/dokuwiki_plugin_logautherror/archive/master.zip
|
||||
SOURCE_SUM=bc51d4da781d0aabab8e086e51f3cb77ac983eb4366f4c8f5247bb863d4a3bb2
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=
|
|
@ -166,13 +166,6 @@ cp ../conf/plugins.local.php $final_path/conf/plugins.local.php.bak
|
|||
#ynh_store_file_checksum --file="$final_path/conf/local.protected.php"
|
||||
### Files '$final_path/conf/local.php' and '$final_path/conf/acl.auth.php' can be modified by user, no need to store checksum as they cannot be overwritten safely by the upgrade script
|
||||
|
||||
#=================================================
|
||||
# INSTALL LOGAUTHERROR PLUGIN FOR FAIL2BAN
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing logautherror plugin for Fail2Ban..." --weight=2
|
||||
|
||||
ynh_setup_source --dest_dir="$final_path/lib/plugins/logautherror" --source_id=logautherror
|
||||
|
||||
# #=================================================
|
||||
# # GENERIC FINALIZATION
|
||||
# #=================================================
|
||||
|
|
|
@ -170,6 +170,14 @@ if [ ! -f "$final_path/inc/preload.php" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# purge "LOGAUTHERROR PLUGIN" as not compatible and not maintained anymore
|
||||
# See https://www.dokuwiki.org/plugin:logautherror
|
||||
if [ -d "$final_path/lib/plugins/logautherror" ]; then
|
||||
ynh_script_progression --message="Purge "LOGAUTHERROR PLUGIN" as not maintained anymore" --weight=1
|
||||
ynh_secure_remove --file "$final_path/lib/plugins/logautherror"
|
||||
fi
|
||||
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue