intellij-idea-community/intellij-idea-community_2024.1.2/debian/postinst

22 lines
414 B
Text
Raw Normal View History

2015-12-08 11:55:30 +01:00
#!/bin/bash
2017-02-02 13:58:56 +01:00
set -e
2015-12-08 11:55:30 +01:00
cd /opt/
## Extract the package
2024-05-23 15:02:36 +02:00
tar xf /opt/ideaIC-2024.1.2.tar.gz
2015-12-08 11:55:30 +01:00
## Rename the directory
mv /opt/idea-IC-* /opt/intellij-idea-community
2015-12-08 11:55:30 +01:00
## Remove the tar.gz package
2024-05-23 15:02:36 +02:00
rm /opt/ideaIC-2024.1.2.tar.gz
2015-12-08 11:55:30 +01:00
## Install the .desktop file, if necessary
if [ -x "/usr/bin/desktop-file-install" ]; then
desktop-file-install /usr/share/applications/intellij-idea-community.desktop
fi
2017-02-02 13:58:56 +01:00
##DEBHELPER##