diff --git a/resources/linux/debian/postinst.template b/resources/linux/debian/postinst.template index 9e91489d..db537e09 100755 --- a/resources/linux/debian/postinst.template +++ b/resources/linux/debian/postinst.template @@ -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 # Install the desktop entry -if hash update-desktop-database 2>/dev/null; then - update-desktop-database +if hash desktop-file-install 2>/dev/null; then + desktop-file-install /usr/share/applications/@@NAME@@.desktop fi # Update mimetype database to pickup workspace mimetype