2017-10-07 00:33:22 +08:00
|
|
|
#!/bin/bash
|
2016-05-14 06:28:28 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
|
|
|
|
2020-04-19 19:57:06 +08:00
|
|
|
rm -f /usr/bin/@@NAME@@
|
|
|
|
|
2023-10-05 16:52:25 +08:00
|
|
|
# Uninstall the desktop entry
|
|
|
|
if hash update-desktop-database 2>/dev/null; then
|
|
|
|
update-desktop-database
|
|
|
|
fi
|
|
|
|
|
2020-04-19 19:57:06 +08:00
|
|
|
# Update mimetype database for removed workspace mimetype
|
|
|
|
if hash update-mime-database 2>/dev/null; then
|
|
|
|
update-mime-database /usr/share/mime
|
|
|
|
fi
|