chore: add a xmlstarlet command to disable show tip of the day
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user