ehsavoie/silverpeas-native-packages — pull request #4 by mmoqui (2012-10-19 15:09:41+00:00)
Title: RPM and Debian packages build change

As there is many RPM-based GNU/Linux distributions and each of them supporting their own packages repository and managing their own dependencies between packages, it has been difficult to maintain a single way to build a package for all of them. So, some simplifications are taken:
* only the distributions built from RedHat are taken in charge: RHEL, CentOS and Fedora. Currently, the versions 5.8 and 6.3 of RHEL and CentOS, and the version 17 of Fedora is supported;
* for each of different type of RPM-based distributions, there is a dedicated RPM repository.
Beside that, the fact PostgreSQL isn't initialized when installed on RPM-based distributions is now taken into account by the Silverpeas package installation.

Debian packages installation scripts are cleaned from bash-specific instructions in order to be ran within a dash shell.

The silverpeas and openoffice init scripts are also updated for both Debian-based and RPM-based distributions.