intellij-idea-community/intellij-idea-community_2016.3/debian/postinst
Marcel Kapfer (mmk2410) f02392d492 Upstream Version 2016.03
2016-11-24 21:37:51 +01:00

15 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