diff options
author | Gerrit Pape <pape@smarden.org> | 2004-02-10 13:11:06 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2004-02-10 13:11:06 +0000 |
commit | 7ece194114809d4ae3f9bcd275a9864bfdcee60f (patch) | |
tree | c92d43312591b641e830030343268a2360e4c686 /package/upgrade | |
parent | fcd93845fcabd67e1b1c912b0f6ad528e7e3db10 (diff) | |
download | runit-7ece194114809d4ae3f9bcd275a9864bfdcee60f.tar.gz runit-7ece194114809d4ae3f9bcd275a9864bfdcee60f.tar.xz runit-7ece194114809d4ae3f9bcd275a9864bfdcee60f.zip |
1.0.0.
Diffstat (limited to 'package/upgrade')
-rwxr-xr-x | package/upgrade | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/package/upgrade b/package/upgrade index b050072..5065aac 100755 --- a/package/upgrade +++ b/package/upgrade @@ -7,23 +7,21 @@ test -d src || ( echo 'Wrong working directory.'; exit 1 ) || exit 1 here=`env - PATH=$PATH pwd` parent=`dirname $here` -echo 'Creating symlink runit -> runit-0.13.1...' +echo 'Creating symlink runit -> runit-1.0.0...' rm -f runit -ln -s runit-0.13.1 runit +ln -s runit-1.0.0 runit mv -f runit .. echo 'Making command links in /command...' mkdir -p /command -for i in `cat package/commands` -do +for i in `cat package/commands`; do rm -f /command/$i'{new}' ln -s $parent/runit/command/$i /command/$i'{new}' mv -f /command/$i'{new}' /command/$i done echo 'Making compatibility links in /usr/local/bin...' mkdir -p /usr/local/bin -for i in `cat package/commands` -do +for i in `cat package/commands`; do rm -f /usr/local/bin/$i'{new}' ln -s /command/$i /usr/local/bin/$i'{new}' mv -f /usr/local/bin/$i'{new}' /usr/local/bin/$i |