chore: add a xmlstarlet command to disable show tip of the day

This commit is contained in:
2026-02-11 11:18:51 +01:00
parent 6ad4a886b3
commit 145a90301a
2 changed files with 4 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ chown -Rv \${userland_name}:\${userland_name} /opt/\${program_name}
su \${userland_name} -c "systemctl --user daemon-reload" su \${userland_name} -c "systemctl --user daemon-reload"
xmlstarlet ed -L -u "//prop[@oor:name='ShowTipOfTheDay']/value" -v "false" main.xcd
echo "Self-destruction NOW!" echo "Self-destruction NOW!"
rm \$(pwd)/\$0 rm \$(pwd)/\$0
EOF EOF

View File

@@ -221,5 +221,7 @@ chown -Rv ${userland_name}:${userland_name} /opt/${program_name}
su ${userland_name} -c "systemctl --user daemon-reload" su ${userland_name} -c "systemctl --user daemon-reload"
xmlstarlet ed -L -u "//prop[@oor:name='ShowTipOfTheDay']/value" -v "false" main.xcd
echo "Self-destruction NOW!" echo "Self-destruction NOW!"
rm $(pwd)/$0 rm $(pwd)/$0