intellij-idea-ultimate/intellij-idea-ultimate_2023.3.5/debian/postinst

22 lines
412 B
Text
Raw Normal View History

#!/bin/bash
set -e
cd /opt/
## Extract the package
2024-03-13 15:02:19 +01:00
tar xf /opt/ideaIU-2023.3.5.tar.gz
## Rename the directory
mv /opt/idea-IU-* /opt/intellij-idea-ultimate
## Remove the tar.gz package
2024-03-13 15:02:19 +01:00
rm /opt/ideaIU-2023.3.5.tar.gz
## Install the .desktop file, if necessary
if [ -x "/usr/bin/desktop-file-install" ]; then
desktop-file-install /usr/share/applications/intellij-idea-ultimate.desktop
fi
##DEBHELPER##