Subversion Repositories wimsdev

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 13573
Line 1... Line 1...
1
#! /bin/sh
1
#! /bin/sh
2
#
2
#
3
# chroot package cannot be updated automatically, because it is 
3
# chroot package cannot be updated automatically, because it is
4
# system-dependent.
4
# system-dependent.
5
 
5
 
6
whome=`pwd`
6
whome=`pwd`
7
 
7
 
8
eraselink="public_html/modules/template
8
eraselink="public_html/modules/template
Line 14... Line 14...
14
 
14
 
15
if [ -z "$loadversion" ]; then
15
if [ -z "$loadversion" ]; then
16
 echo Please execute this via an appropriate update script.
16
 echo Please execute this via an appropriate update script.
17
 exit
17
 exit
18
fi
18
fi
19
if [ ! -f public_html/wims ]; then
19
if [ ! -f public_html/wims ]; then
20
 echo Wrong execution directory.
20
 echo Wrong execution directory.
21
 exit
21
 exit
22
fi
22
fi
23
if [ ! -f download/wims-$loadversion.tgz ]; then
23
if [ ! -f download/wims-$loadversion.tgz ]; then
24
 echo Wrong updating procedure: no tgz file found.
24
 echo Wrong updating procedure: no tgz file found.