/[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 1108140 by zezinho, Wed Jun 21 20:08:48 2017 UTC revision 1108141 by zezinho, Wed Jun 21 20:21:54 2017 UTC
# Line 1  Line 1 
1  %define version 10.0.5  %define version 10.0.5
2  %define rel 2  %define rel 3
3  %define prerel %{nil}  %define prerel %{nil}
4    
5  %if "%{prerel}" != "%{nil}"  %if "%{prerel}" != "%{nil}"
# Line 146  fi Line 146  fi
146  # Upgrade from Owncloud 9.1.5 : we move the config file as it is now in nextcloud conf directory  # Upgrade from Owncloud 9.1.5 : we move the config file as it is now in nextcloud conf directory
147  if [ -e %{_sysconfdir}/owncloud/config.php ]; then  if [ -e %{_sysconfdir}/owncloud/config.php ]; then
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
150        sed -i s+http://localhost/owncloud+http://localhost/nextcloud+  %{_sysconfdir}/%name/config.php
151  fi  fi
152    
153  %files  %files

Legend:
Removed from v.1108140  
changed lines
  Added in v.1108141

  ViewVC Help
Powered by ViewVC 1.1.30