Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Packaging fix
Browse files Browse the repository at this point in the history
Supresses rpm warnings thrown on rhel, centos, fedora
as a2enmod is not available.

Fixes #431: RPM postinstall script on RHEL, CentOS and Fedora not working
  • Loading branch information
fbergkemper committed Mar 5, 2015
1 parent 85eba23 commit 3e7e48e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packaging/obs/bareos-webui.spec
Expand Up @@ -77,9 +77,9 @@ make
make DESTDIR=%{buildroot} install

%post
a2enmod setenv &> /dev/null
a2enmod rewrite &> /dev/null
a2enmod php5 &> /dev/null
a2enmod setenv &> /dev/null || true
a2enmod rewrite &> /dev/null || true
a2enmod php5 &> /dev/null || true

%clean
rm -rf $RPM_BUILD_ROOT
Expand Down

0 comments on commit 3e7e48e

Please sign in to comment.