depot/third_party/nixpkgs/pkgs/by-name/yo/yourkit-java/forbid-desktop-item-creation
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

16 lines
335 B
Text

CONFIG_DIR=$YS/config
if [ ! -d $CONFIG_DIR ]; then
mkdir -p $CONFIG_DIR
fi
REGISTRY=$CONFIG_DIR/registry8.xml
if [ ! -e $REGISTRY ]; then
cat >$REGISTRY <<EOF
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<registry8>
<desktop-file.created>
<boolean value="true"/>
</desktop-file.created>
</registry8>
EOF
fi