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/debian/postinst
Marcel Michael Kapfer 52180dd103 New upstream version
2015-09-15 01:01:58 +02: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