Fix copy of vhost file from host
This commit is contained in:
parent
ccd3a9fe2a
commit
4c1f2e8f09
@ -23,6 +23,7 @@ fi
|
|||||||
|
|
||||||
# --- Copy Vhosts files
|
# --- Copy Vhosts files
|
||||||
VHOSTS='000-default.conf test.conf'
|
VHOSTS='000-default.conf test.conf'
|
||||||
|
cp -vf /sites-available/*.conf /etc/apache2/sites-available/
|
||||||
cd /etc/apache2/sites-available/
|
cd /etc/apache2/sites-available/
|
||||||
for f in *.conf; do
|
for f in *.conf; do
|
||||||
if [ $f = "000-default.conf" ]; then
|
if [ $f = "000-default.conf" ]; then
|
||||||
@ -35,7 +36,6 @@ for f in *.conf; do
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [ -f $f ]; then
|
if [ -f $f ]; then
|
||||||
cp -vf /sites-available/$f /etc/apache2/sites-available/
|
|
||||||
VHOSTS+=" $f"
|
VHOSTS+=" $f"
|
||||||
fi
|
fi
|
||||||
done;
|
done;
|
||||||
|
Loading…
Reference in New Issue
Block a user