intellij-idea-community/intellij-idea-community_2016.2.1/debian/postinst
Marcel Kapfer (mmk2410) b342cd07b1 Upstream Release 2016.2.1
2016-08-08 21:44:03 +02:00

14 lines
303 B
Bash

#!/bin/bash
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-*
## Make /usr/bin usable
sudo mv /usr/bin/intellij-idea-community.sh /usr/bin/intellij-idea-community