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:
parent
7a8dc041b2
commit
44df6663f2
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue