[WP] 2.0.5
Some bug fixes (around 50+). And almost the same upgrade procedure (refer to here)
But there is something new in awk since I upgrade from 4.11 to 6.1. So the new upgrade code should be:
% tar zxvf latest.tar.gz;
% mv wordpress/ wordpress_2.0.5/;
% diff -ruN wordpress_2.0.4/ wordpress_2.0.5/ | grep ‘diff -ruN’ | awk ‘{ gsub ("wordpress_2.0.4", "blog", $3); } {print "sudo cp " $4 " " $3 }’ > to_ex
% sh to_ex
% mv wordpress/ wordpress_2.0.5/;
% diff -ruN wordpress_2.0.4/ wordpress_2.0.5/ | grep ‘diff -ruN’ | awk ‘{ gsub ("wordpress_2.0.4", "blog", $3); } {print "sudo cp " $4 " " $3 }’ > to_ex
% sh to_ex
The difference is function change of awk, we don’t have gensub() anymore (I don’t know when it gone).















十月 29th, 2006 at 11:39 pm
[...] 也使用長輩這篇文章的 script 更新版本完畢。 [...]
十月 31st, 2006 at 6:06 am
510619 Blog Verification…
510619…