## arg 1: the new package version post_install() { ln -s /opt/async-profiler/build /usr/local/bin/build ln -s /opt/async-profiler/profiler.sh /usr/local/bin/async-profiler } ## arg 1: the old package version pre_remove() { rm /usr/local/bin/async-profiler rm /usr/local/bin/build }