mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
fix
This commit is contained in:
parent
7e187b23be
commit
eaa72aaa95
2 changed files with 19 additions and 1 deletions
14
conf/v1.5.2.sql
Normal file
14
conf/v1.5.2.sql
Normal file
|
@ -0,0 +1,14 @@
|
|||
-- change Twitter to X
|
||||
INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES
|
||||
('x', 'social', 'X', 'https://x.com/', 'https://x.com/i/flow/signup');
|
||||
|
||||
UPDATE `cp_podcasts_platforms`
|
||||
SET `platform_slug` = 'x'
|
||||
WHERE `platform_slug` = 'twitter';
|
||||
|
||||
DELETE FROM `cp_platforms` WHERE `slug` = 'twitter';
|
||||
|
||||
-- add buymeacoffee and kofi as funding platforms
|
||||
INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES
|
||||
('buymeacoffee', 'funding', 'Buy Me a Coffee', 'https://www.buymeacoffee.com/', 'https://www.buymeacoffee.com/signup'),
|
||||
('kofi', 'funding', 'Ko-fi', 'https://ko-fi.com/', 'https://ko-fi.com/account/register');
|
|
@ -75,7 +75,11 @@ chmod 644 "/etc/cron.d/$app"
|
|||
#=================================================
|
||||
# CONFIGURE CASTOPOD
|
||||
#=================================================
|
||||
# ynh_script_progression --message="Configuring Castopod..." --weight=1
|
||||
ynh_script_progression --message="Configuring Castopod database..." --weight=1
|
||||
|
||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < v1.5.2.sql
|
||||
|
||||
#ynh_script_progression --message="Configuring Castopod..." --weight=1
|
||||
|
||||
# ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env"
|
||||
# chmod 600 $install_dir/.env
|
||||
|
|
Loading…
Add table
Reference in a new issue