1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rss-bridge_ynh.git synced 2024-09-03 20:25:51 +02:00

Whitelist all bridges

This commit is contained in:
lapineige 2023-08-01 16:03:26 +02:00 committed by GitHub
parent 42b77cb07e
commit 4955035085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,15 +38,7 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Configuring RSS-Bridge..." --weight=1
# Remove faulty bridge
ynh_secure_remove --file=$install_dir/bridges/PepperBridgeAbstract.php
ynh_secure_remove --file=$install_dir/bridges/DealabsBridge.php
ynh_secure_remove --file=$install_dir/bridges/HotUKDealsBridge.php
# Enable every bridge
for i in $install_dir/bridges/*.php ; do
echo $(basename $i) | sed "s|Bridge.php$||g" | tee -a $install_dir/whitelist.txt
done
echo \* > $install_dir/whitelist.txt
#=================================================
# END OF SCRIPT