This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
eclipse-ide-java/eclipse-ide-java_4.5.1/debian/postinst

15 lines
285 B
Text
Raw Normal View History

2015-03-09 00:31:46 +01:00
#!/bin/bash
cd /opt/
## Extract the package
sudo tar xf /opt/eclipse-java*
## Rename the directory
sudo mv /opt/eclipse /opt/eclipse-ide-java
## Remove the tar.gz package
sudo rm /opt/eclipse-java*
## Make /usr/bin usable
sudo mv /usr/bin/eclipse-ide-java.sh /usr/bin/eclipse-ide