Permalink
Browse files

lastchanges

  • Loading branch information...
1 parent caa7326 commit 9e02b76e131b3e4d1d6a705156cd666e2d6bc2f0 Spiros Ioannou committed Apr 26, 2012
Showing with 13 additions and 8 deletions.
  1. +7 −5 00-UPGRADE.txt
  2. +6 −3 contrib/mkpackage.sh
  3. BIN data/pure.db
View
@@ -15,20 +15,22 @@ INSTRUCTIONS to upgrade version 1.6 to 1.7
link on the menu, or from the command like use something like: cp -a itdb/
itdbold/
-2.Extract the tar over the existing files. The file itdb.db should not be
+2.Rename itdb.php to index.php
+
+3.Extract the tar over the existing files. The file itdb.db should not be
overwritten (it won't normaly since there is no itdb.db file on the package).
or
Transfer the itdb/data from the old installation to a fresh installation
-3.run sqlite3 on the command prompt inside the itdb/data/ directory:
+4.run sqlite3 on the command prompt inside the itdb/data/ directory:
sqlite3 itdb.db
-4.on the sqlite> prompt paste the SQL instructions sequentialy depending on the
+5.on the sqlite> prompt paste the SQL instructions sequentialy depending on the
itdb version
-5.type .q to quit the sqlite prompt
+6.type .q to quit the sqlite prompt
-6.fix the ownerships/permissions if necessary as per original installation instructions
+7.fix the ownerships/permissions if necessary as per original installation instructions
View
@@ -2,11 +2,12 @@
#don't run this yourselves
-version=`grep version ../itdb.php |head -1|cut -d'"' -f2`
+version=`grep version ../index.php |head -1|cut -d'"' -f2`
echo "updating version on database to $version"
echo "update settings set version='$version';"|sqlite3 ../data/itdb.db
echo "update settings set version='$version';"|sqlite3 ../data/pure.db
+echo "Copying"
rm -fr /tmp/itdb
cp -a ../../itdb /tmp
cd /tmp #just to be sure we are not someplace dangerous
@@ -15,10 +16,12 @@ cd translations
cat el.txt |cut -d'#' -f1 |sed 's/$/#/'>new.txt
cd ..
rm -f data/files/*
+rm -f .git/
rm -f images/eoa*
rm data/itdb.db
-#cp conf.php.sample conf.php
+
cd /tmp
+
echo "it is ready for tarring in /tmp/itdb"
-echo "you may do a tar zcvf itdb-${version}.tar.gz itdb/ in there"
+echo "you may do a tar zcvf itdb-${version}.tar.gz itdb/ "
View
Binary file not shown.

0 comments on commit 9e02b76

Please sign in to comment.