view scripts/burst @ 3285:345ff5806dd7

Correct coco.d filename in shipped Defsfile files It seems that 8 years ago in commit 2624:b8c7b7fbf3c9 the coco defs were put into a new "coco.d" (from "systype"), and the various level*/<port>/defsfile were updated. However, the level*/<port>/defs/Defsfile (that are copied to the disk images under DEFS) were apparently wrongly updated.
author hpmachining <aur@hpminc.com>
date Thu, 18 Jun 2020 20:29:32 +0200
parents d9cb87a32d7a
children
line wrap: on
line source

#!/bin/sh -e

NAME=$1
TAG=$2

HTDOCS=/home/project-web/nitros9/htdocs

if [ -z "$TAG" ]; then
	echo "$0: Missing name and date tag"
	exit 1
fi

cd $HTDOCS
mkdir snapshot-$TAG
cd snapshot-$TAG
unzip -o ../$NAME-$TAG.zip
echo "Options +Indexes" > .htaccess

cd $HTDOCS
rm snapshot
ln -s snapshot-$TAG snapshot
rm $NAME.zip
ln -s $NAME-$TAG.zip $NAME.zip