* Redirect to /releases instead of releases.nixos.org.
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34848 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
This commit is contained in:
parent
9f746c828f
commit
1c063dced7
|
@ -73,8 +73,8 @@ rsync -avR . hydra-mirror@nixos.org:"$releasesDir" --exclude .htaccess --exclude
|
|||
|
||||
# Update the channel.
|
||||
htaccess=$channelsDir/.htaccess-$channelName
|
||||
echo "Redirect /channels/$channelName http://releases.nixos.org/nixos/$branch/$release" > $htaccess.tmp
|
||||
echo "Redirect /releases/nixos/channels/$channelName http://releases.nixos.org/nixos/$branch/$release" >> $htaccess.tmp # obsolete
|
||||
echo "Redirect /channels/$channelName /releases/nixos/$branch/$release" > $htaccess.tmp
|
||||
echo "Redirect /releases/nixos/channels/$channelName /releases/nixos/$branch/$release" >> $htaccess.tmp # obsolete
|
||||
mv $htaccess.tmp $htaccess
|
||||
ln -sfn $releaseDir $channelsDir/$channelName # dummy symlink
|
||||
|
||||
|
|
|
@ -48,8 +48,8 @@ rsync -avR . hydra-mirror@nixos.org:"$releasesDir" --delete >&2
|
|||
|
||||
# Update the channel.
|
||||
htaccess=$channelsDir/.htaccess-$channelName
|
||||
echo "Redirect /channels/$channelName http://releases.nixos.org/nixpkgs/$release" > $htaccess.tmp
|
||||
echo "Redirect /releases/nixpkgs/channels/$channelName http://releases.nixos.org/nixpkgs/$release" >> $htaccess.tmp # obsolete
|
||||
echo "Redirect /channels/$channelName /releases/nixpkgs/$release" > $htaccess.tmp
|
||||
echo "Redirect /releases/nixpkgs/channels/$channelName /releases/nixpkgs/$release" >> $htaccess.tmp # obsolete
|
||||
mv $htaccess.tmp $htaccess
|
||||
ln -sfn $releaseDir $channelsDir/$channelName # dummy symlink
|
||||
|
||||
|
|
Loading…
Reference in a new issue