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_1.0/debian/postinst
2015-03-09 00:31:46 +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