# HG changeset patch # User Aleksej Bobylev # Date 1408911923 -10800 # Node ID 1794963d7994bc8539ee7c83ca24cc8ed71d7f4d # Parent d4450804a65fc9c3c23b904fe83cbf1cb28450ba tramys-server: change DATADIR, fix typo. diff -r d4450804a65f -r 1794963d7994 tramys-server/stuff/tramys2.cgi --- a/tramys-server/stuff/tramys2.cgi Sun Aug 24 23:22:10 2014 +0300 +++ b/tramys-server/stuff/tramys2.cgi Sun Aug 24 23:25:23 2014 +0300 @@ -12,7 +12,7 @@ . /usr/bin/httpd_helper.sh WORKING=$(mktemp -d) -DATADIR=/home/lexeii/Public/tramys +DATADIR=/usr/share/tramys # hide script if [ "x$(GET lang)$(GET rel)$(GET dl)" == "x" ]; then @@ -71,7 +71,7 @@ # supported 4.0 (as stable now) an cooking (rolling, 5.0) # don't know what to do with "arm" and "x86_64" woks case $(GET rel) in - 4*) PREFIX="stable"; WOK="stable" ;; + 4*) PREFIX="stable_"; WOK="stable" ;; *) PREFIX=""; WOK="cooking" ;; esac WOK="/home/slitaz/$WOK/chroot/home/slitaz/wok"