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

Commit

Permalink
Fix to bugreport #692
Browse files Browse the repository at this point in the history
Fixes #692: Postin rpm script contain a2enmod calls, there's no a2enmod on RHEL system
  • Loading branch information
fbergkemper committed Mar 17, 2017
1 parent 455f6b5 commit 875441f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/obs/bareos-webui.spec
Expand Up @@ -138,8 +138,11 @@ fi; \
%post
%post_backup_file /etc/bareos/bareos-dir.d/webui-consoles.conf
%post_backup_file /etc/bareos/bareos-dir.d/webui-profiles.conf

%if 0%{?suse_version} >= 1230
a2enmod setenv &> /dev/null || true
a2enmod rewrite &> /dev/null || true
%endif

%posttrans
%posttrans_restore_file /etc/bareos/bareos-dir.d/webui-consoles.conf
Expand Down

0 comments on commit 875441f

Please sign in to comment.