Register mimetype for *.code-workspace

This commit is contained in:
Luqman Aden
2020-04-19 04:57:06 -07:00
parent a84d194763
commit 828389d890
6 changed files with 39 additions and 4 deletions

View File

@@ -3,4 +3,9 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
rm -f /usr/bin/@@NAME@@
rm -f /usr/bin/@@NAME@@
# Update mimetype database for removed workspace mimetype
if hash update-mime-database 2>/dev/null; then
update-mime-database /usr/share/mime
fi