common/hooks: use ln -f instead of cp