Install the .desktop file, if necessary
I used this packaging to install IntelliJ on a fairly vanilla Ubuntu install (with Unity) and found that Unity doesn't recognize the installation of a new .desktop file to /usr/share/applications unless `desktop-file-install` is used.
This commit is contained in:
parent
99547aafcc
commit
da7d15e541
1 changed files with 5 additions and 0 deletions
|
@ -12,3 +12,8 @@ sudo rm /opt/ideaIC-*
|
||||||
|
|
||||||
## Make /usr/bin usable
|
## Make /usr/bin usable
|
||||||
sudo mv /usr/bin/intellij-idea-community.sh /usr/bin/intellij-idea-community
|
sudo mv /usr/bin/intellij-idea-community.sh /usr/bin/intellij-idea-community
|
||||||
|
|
||||||
|
## Install the .desktop file, if necessary
|
||||||
|
if [ -x "/usr/bin/desktop-file-install" ]; then
|
||||||
|
sudo /usr/bin/desktop-file-install /usr/share/applications/intellij-idea-community.desktop
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue