/[packages]/backports/5/nextcloud/current/SPECS/nextcloud.spec
ViewVC logotype

Diff of /backports/5/nextcloud/current/SPECS/nextcloud.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1109626 by zezinho, Mon Jul 10 16:12:52 2017 UTC revision 1109627 by zezinho, Mon Jul 10 16:17:20 2017 UTC
# Line 1  Line 1 
1  %define version 10.0.5  %define version 10.0.5
2  %define rel 4  %define rel 5
3  %define prerel %{nil}  %define prerel %{nil}
4    
5  %if "%{prerel}" != "%{nil}"  %if "%{prerel}" != "%{nil}"
# Line 148  if [ -e %{_sysconfdir}/owncloud/config.p Line 148  if [ -e %{_sysconfdir}/owncloud/config.p
148      mv %{_sysconfdir}/owncloud/config.php %{_sysconfdir}/%name/config.php      mv %{_sysconfdir}/owncloud/config.php %{_sysconfdir}/%name/config.php
149      # if the default path was not changed, we move it to nextcloud      # if the default path was not changed, we move it to nextcloud
150      sed -i s+http://localhost/owncloud+http://localhost/nextcloud+  %{_sysconfdir}/%name/config.php      sed -i s+http://localhost/owncloud+http://localhost/nextcloud+  %{_sysconfdir}/%name/config.php
151      # if the default data path was not changed, we move it to nextcloud      # if the default data path was not changed, the link has disappeared so we point to the real folder
152      sed -i s+/usr/share/owncloud/data+/usr/share/nextcloud/data+  %{_sysconfdir}/%name/config.php      sed -i s+/usr/share/owncloud/data+/var/lib/owncloud+  %{_sysconfdir}/%name/config.php
153  fi  fi
154    
155  %files  %files

Legend:
Removed from v.1109626  
changed lines
  Added in v.1109627

  ViewVC Help
Powered by ViewVC 1.1.30