I got something like:
$ ls -al
lrwxrwxrwx 1 jyo jyo 23 Jun 2 19:44 source -> /home/jyo/pusher/source
Anyway, thanks for this great work
run "ln -sf $path/source $path/current"
It works fine for the first time, but it would create a symbolic link named source under current since the second time. It would be nice to have a -n, which says "If the target_file or target_dir is a symbolic link, do not follow it. This is most useful with the -f option, to replace a symlink which may point to a directory."
run "ln -sfn $path/source $path/current"
ln -sfn. Closes #1
good call I didn't notice that at first, when I saw source in source I thought it was just an issue while I was writing it haha
you can deploy update
Thanks TJ. You are my hero!