Commit 567a551e authored by Vitaly Lipatov's avatar Vitaly Lipatov

createbytask.sh: use hostserver instead direct cat

parent a013e856
...@@ -32,7 +32,7 @@ tune_yandex_mirror() ...@@ -32,7 +32,7 @@ tune_yandex_mirror()
PKGINSTALL= PKGINSTALL=
if [ -s "base.task" ] ; then if [ -s "base.task" ] ; then
. base.task . ./base.task
fi fi
TASK="$1" TASK="$1"
...@@ -118,8 +118,7 @@ st() ...@@ -118,8 +118,7 @@ st()
# common projects # common projects
if [ -n "$VEIDORIG" ] ; then if [ -n "$VEIDORIG" ] ; then
if [ ! -s "apache/$AUSER.conf" ] ; then if [ ! -s "apache/$AUSER.conf" ] ; then
# Здесь cat, а ниже — hostserver hostserver cat /var/lib/vz/root/$VEIDORIG/etc/httpd2/conf/sites-enabled/$ACONF.conf > apache/$ACONF.conf
cat /var/lib/vz/root/$VEIDORIG/etc/httpd2/conf/sites-enabled/$ACONF.conf > apache/$ACONF.conf
fi fi
[ -s apache/$ACONF.conf ] || fatal "Empty apache/$ACONF.conf" [ -s apache/$ACONF.conf ] || fatal "Empty apache/$ACONF.conf"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment