forked from openkylin/kylin-code
解决安装deb时报错:Error in file /usr/share/applications/kylin-installer.desktop: application/vnd.debian.binary-package,application/octet-stream is an invalid MIME type
This commit is contained in:
parent
e62c0acfc3
commit
5da8929599
|
@ -13,8 +13,8 @@ ln -s /usr/share/@@NAME@@/bin/@@NAME@@ /usr/bin/@@NAME@@
|
||||||
update-alternatives --install /usr/bin/editor editor /usr/bin/@@NAME@@ 0
|
update-alternatives --install /usr/bin/editor editor /usr/bin/@@NAME@@ 0
|
||||||
|
|
||||||
# Install the desktop entry
|
# Install the desktop entry
|
||||||
if hash update-desktop-database 2>/dev/null; then
|
if hash desktop-file-install 2>/dev/null; then
|
||||||
update-desktop-database
|
desktop-file-install /usr/share/applications/@@NAME@@.desktop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update mimetype database to pickup workspace mimetype
|
# Update mimetype database to pickup workspace mimetype
|
||||||
|
|
Loading…
Reference in New Issue