wok-next rev 17084

tramys-server: change DATADIR, fix typo.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 24 23:25:23 2014 +0300 (2014-08-24)
parents d4450804a65f
children ce9cbd90365a
files tramys-server/stuff/tramys2.cgi
line diff
     1.1 --- a/tramys-server/stuff/tramys2.cgi	Sun Aug 24 23:22:10 2014 +0300
     1.2 +++ b/tramys-server/stuff/tramys2.cgi	Sun Aug 24 23:25:23 2014 +0300
     1.3 @@ -12,7 +12,7 @@
     1.4  . /usr/bin/httpd_helper.sh
     1.5  
     1.6  WORKING=$(mktemp -d)
     1.7 -DATADIR=/home/lexeii/Public/tramys
     1.8 +DATADIR=/usr/share/tramys
     1.9  
    1.10  # hide script
    1.11  if [ "x$(GET lang)$(GET rel)$(GET dl)" == "x" ]; then
    1.12 @@ -71,7 +71,7 @@
    1.13  # supported 4.0 (as stable now) an cooking (rolling, 5.0)
    1.14  # don't know what to do with "arm" and "x86_64" woks
    1.15  case $(GET rel) in
    1.16 -	4*) PREFIX="stable"; WOK="stable"  ;;
    1.17 +	4*) PREFIX="stable_"; WOK="stable"  ;;
    1.18  	*)  PREFIX="";       WOK="cooking" ;;
    1.19  esac
    1.20  WOK="/home/slitaz/$WOK/chroot/home/slitaz/wok"