git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34757 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
This commit is contained in:
Eelco Dolstra 2013-08-14 10:18:43 +00:00
parent 100e90272c
commit b20366e0f9
2 changed files with 4 additions and 3 deletions

View file

@ -21,7 +21,6 @@ if [ -z "$url" ]; then exit 1; fi
echo "release is $release (build $releaseId), eval is $url"
releaseDir=$releasesDir/$release
echo $releaseDir
if [ -d $releaseDir ]; then
echo "release already exists"
@ -75,7 +74,7 @@ echo "Redirect /releases/nixos/latest-vdi-x86_64-linux http://nixos.org/releases
mv $htaccess.tmp $htaccess
# Copy over to nixos.org
# Copy over to nixos.org.
cd /data/releases
rsync -avR nixos hydra-mirror@nixos.org:/data/releases --exclude nixos/.htaccess --delete
rsync -avR channels/.htaccess-nixos channels/nixos-unstable nixos/.htaccess hydra-mirror@nixos.org:/data/releases

View file

@ -19,6 +19,8 @@ if [ -z "$url" ]; then exit 1; fi
echo "release is $release (build $releaseId), eval is $url"
releaseDir=$releasesDir/$release
if [ -d $releaseDir ]; then
echo "release already exists"
else
@ -40,7 +42,7 @@ echo "Redirect /releases/nixpkgs/channels/$channelName http://nixos.org/releases
ln -sfn $releaseDir $channelsDir/$channelName # dummy symlink
mv $htaccess.tmp $htaccess
# Copy over to nixos.org
# Copy over to nixos.org.
cd /data/releases
rsync -avR nixpkgs hydra-mirror@nixos.org:/data/releases --exclude nixpkgs/.htaccess --delete
rsync -avR channels/.htaccess-nixpkgs channels/nixpkgs-unstable hydra-mirror@nixos.org:/data/releases