view scripts/burst @ 3037:ce135f896796

Removed the commented out code in the becker routines.
author David Ladd <drencor-xeen@users.sf.net>
date Mon, 19 Jan 2015 08:47:23 -0600
parents d76362b779c0
children f3decf362611
line wrap: on
line source

#!/bin/sh -e

HTDOCS=/home/project-web/nitros9/htdocs
TODAY=$(date +%Y%m%d)

cd $HTDOCS
mkdir latest-$TODAY
cd latest-$TODAY
unzip -o ../nitros9project-$TODAY.zip
echo "Options +Indexes" > .htaccess

cd $HTDOCS
rm latest
ln -s latest-$TODAY latest
rm nitros9project.zip
ln -s nitros9project-$TODAY.zip nitros9project.zip