Skip to content

Commit

Permalink
On sles >=12 enable php7 instead of php5
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Sep 20, 2016
1 parent 8b1368a commit 7263e85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packaging/obs/bareos-webui.spec
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@ fi; \
%posttrans_restore_file /etc/bareos/bareos-dir.d/webui-profiles.conf
a2enmod setenv &> /dev/null || true
a2enmod rewrite &> /dev/null || true

%if 0%{?suse_version} >= 1215
a2enmod php7 &> /dev/null || true
%else
a2enmod php5 &> /dev/null || true
%endif

%clean
rm -rf $RPM_BUILD_ROOT
Expand Down

0 comments on commit 7263e85

Please sign in to comment.