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

Commit

Permalink
Fix OBS Specfile
Browse files Browse the repository at this point in the history
Sets suse version according to SLE 11 for the a2enmod conditions,
so a2enmod is executed automatically during post install
on SLE 11 as well.
  • Loading branch information
frb121 committed Mar 21, 2017
1 parent a93e762 commit 8c4ecbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/obs/bareos-webui.spec
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ fi; \
%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
%if 0%{?suse_version} >= 1110
a2enmod setenv &> /dev/null || true
a2enmod rewrite &> /dev/null || true
%endif
Expand Down

0 comments on commit 8c4ecbc

Please sign in to comment.