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

Remove the bridge that fails

https://github.com/YunoHost-Apps/rss-bridge_ynh/pull/63#issuecomment-1655122488
This commit is contained in:
lapineige 2023-07-31 08:41:48 +02:00 committed by GitHub
parent 7a8dc041b2
commit 44df6663f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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