Upstream Version 2021.1
This commit is contained in:
parent
7b27d04d07
commit
3c7b46ce3b
18 changed files with 7 additions and 1 deletions
21
intellij-idea-community_2021.1/debian/postinst
Normal file
21
intellij-idea-community_2021.1/debian/postinst
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
cd /opt/
|
||||
|
||||
## Extract the package
|
||||
sudo tar xf /opt/ideaIC-*
|
||||
|
||||
## Rename the directory
|
||||
sudo mv /opt/idea-IC-* /opt/intellij-idea-community
|
||||
|
||||
## Remove the tar.gz package
|
||||
sudo rm /opt/ideaIC-*
|
||||
|
||||
## Install the .desktop file, if necessary
|
||||
if [ -x "/usr/bin/desktop-file-install" ]; then
|
||||
sudo desktop-file-install /usr/share/applications/intellij-idea-community.desktop
|
||||
fi
|
||||
|
||||
##DEBHELPER##
|
Loading…
Add table
Add a link
Reference in a new issue