Skip to content

Commit

Permalink
update-module.d: disable what's new window
Browse files Browse the repository at this point in the history
  • Loading branch information
Amygos committed Sep 30, 2024
1 parent c1c8567 commit 9bd503a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imageroot/update-module.d/11update_settings
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ with subprocess.Popen(['podman', 'exec', '-i', 'postgres', 'psql', '-qU', 'postg
print("INSERT INTO \"core\".\"settings\" (service_id, key, value) VALUES ('com.sonicle.webtop.core', 'default.startup.service', 'com.sonicle.webtop.mail');\n", file=psql.stdin)
print("DELETE FROM \"core\".\"settings\" WHERE service_id = 'com.sonicle.webtop.calendar' AND key = 'default.scheduler.timeresolution';\n", file=psql.stdin)
print("INSERT INTO \"core\".\"settings\" (service_id, key, value) VALUES ('com.sonicle.webtop.calendar', 'default.scheduler.timeresolution', '15');\n", file=psql.stdin)
print("DELETE FROM \"core\".\"settings\" WHERE service_id = 'com.sonicle.webtop.core' AND key = 'whatsnew.enabled';\n", file=psql.stdin)
print("INSERT INTO \"core\".\"settings\" (service_id, key, value) VALUES ('com.sonicle.webtop.core', 'whatsnew.enabled', 'false');\n", file=psql.stdin)

agent.assert_exp(psql.returncode == 0) # check the command is succesfull

0 comments on commit 9bd503a

Please sign in to comment.