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
Michele Bologna 4bd4311d65 Upgrade to Eclipse Mars.1 (4.5.1)
- Upgrade to Eclipse Mars.1 (4.5.1) Java
- Remove Eclipse 4.5
2016-01-20 17:59:06 +01:00

14 lines
285 B
Bash

#!/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