[Scodoc-devel] [SVN] Scolar : [1271] ScoDoc 7: removed useless script.

eviennet at lipn.univ-paris13.fr eviennet at lipn.univ-paris13.fr
Ven 4 Oct 18:08:24 CEST 2013


Une pièce jointe HTML a été nettoyée...
URL: <https://www-rt.iutv.univ-paris13.fr/pipermail/scodoc-devel/attachments/20131004/0db9ea03/attachment.html>
-------------- section suivante --------------
Deleted: branches/ScoDoc7/config/upgrade-to-scodoc7.sh
===================================================================
--- branches/ScoDoc7/config/upgrade-to-scodoc7.sh	2013-10-04 16:02:12 UTC (rev 1270)
+++ branches/ScoDoc7/config/upgrade-to-scodoc7.sh	2013-10-04 16:08:24 UTC (rev 1271)
@@ -1,56 +0,0 @@
-#!/bin/bash
-
-# Upgrade ScoDoc installation from ScoDoc 6 to ScoDoc 7
-#   
-# This script should be runned as root (with scodoc stopped)
-#
-
-# E. Viennet, march 2013
-
-if [ -e /opt/scodoc/upgraded_to_v7 ]
-then
- exit 0
-fi
-
-# ensure we are stopped:
-/etc/init.d/scodoc stop 
-
-
-# Add some missing linux packages:
-apt-get update && apt-get dist-upgrade
-apt-get install python-psycopg2
-
-
-# Upgrade Scodoc...
-cd /tmp
-
-# Get archive:
-
-XXXX tests XXXX
-
-#curl --fail -O http://www-l2ti.univ-paris13.fr/~viennet/ScoDoc/builds/scodoc7-upgrade.tgz
-#if [ $? != 0 ]; then
-#  echo "Erreur: echec du telechargement de la mise a jour vers ScoDoc 7"
-#  exit 1
-#fi
-
-# Open and place directories
-tar xfz scodoc7-upgrade.tgz
-mv zope213 /opt
-mv scodoc7 /opt
-
-# Move current scodoc dirs to new tree:
-for d in var log Products
-do
-   echo "Moving ScoDoc $d to new tree"
-   mv "/opt/scodoc/instance/$d" /opt/scodoc7/
-done
-
-echo "Old scodoc files moved to /opt/scodoc6"
-mv /opt/scodoc /opt/scodoc6
-mv /opt/scodoc7 /opt/scodoc
-
-# done
-touch /opt/scodoc/upgraded_to_v7
-
-echo "Upgrade to ScoDoc 7 completed"


Plus d'informations sur la liste de diffusion Scodoc-devel