Ingo Bormuth
2005-11-05 01:24:08 UTC
I just wrote an installation skript (ebuild) to include metaocaml to the
the gentoo linux distribution. Unfortunately the location of your
distribution files is not permanent. The newest file uses to live in
metaocaml.org/dist/ while older files are moved to metaocaml.org/dist/old/.
As our package manager automatically downloads and installes software
from original source code, we rely on permanent locations.
I kindly ask you to always have a copy of the newest version in the
/dist/old directory.
For your convenience find the following patch to mk_dist.bat which
copies the newest tar file to old and creates a symlink called
MetaOCaml-current.tar.gz in dist.
Thank you
Ingo
--- mk_dist.bat 2005-11-05 02:05:52.857941000 +0100
+++ mk_dist.bat.new 2005-11-05 02:11:49.987941000 +0100
@@ -37,12 +37,15 @@
rm -rf $1
echo "--- Removed untared directory by current release name"
-mv MetaOCaml*.gz old
-echo "--- Moved last MetaOCaml*.gz to old"
-
gzip $1.tar
echo "--- Gzipped new tar"
+mv $1.tar.gz old
+echo "--- Move new tar to old, we will create symlink here"
+
+ln -s -f old/$1.tar.gz MetaOCaml-current.tar.gz
+echo "--- Symlink to current version"
+
echo ""
echo "Please remember to edit HISTORY file."
echo "Please remember to edit index.html file."
the gentoo linux distribution. Unfortunately the location of your
distribution files is not permanent. The newest file uses to live in
metaocaml.org/dist/ while older files are moved to metaocaml.org/dist/old/.
As our package manager automatically downloads and installes software
from original source code, we rely on permanent locations.
I kindly ask you to always have a copy of the newest version in the
/dist/old directory.
For your convenience find the following patch to mk_dist.bat which
copies the newest tar file to old and creates a symlink called
MetaOCaml-current.tar.gz in dist.
Thank you
Ingo
--- mk_dist.bat 2005-11-05 02:05:52.857941000 +0100
+++ mk_dist.bat.new 2005-11-05 02:11:49.987941000 +0100
@@ -37,12 +37,15 @@
rm -rf $1
echo "--- Removed untared directory by current release name"
-mv MetaOCaml*.gz old
-echo "--- Moved last MetaOCaml*.gz to old"
-
gzip $1.tar
echo "--- Gzipped new tar"
+mv $1.tar.gz old
+echo "--- Move new tar to old, we will create symlink here"
+
+ln -s -f old/$1.tar.gz MetaOCaml-current.tar.gz
+echo "--- Symlink to current version"
+
echo ""
echo "Please remember to edit HISTORY file."
echo "Please remember to edit index.html file."
--
Ingo Bormuth, voicebox & telefax: +49-12125-10226517 '(~o-o~)'
public key 86326EC9, http://ibormuth.efil.de/contact ---ooO--(.)--Ooo---
Ingo Bormuth, voicebox & telefax: +49-12125-10226517 '(~o-o~)'
public key 86326EC9, http://ibormuth.efil.de/contact ---ooO--(.)--Ooo---