1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
post_install() { # Creates a symbolic link providing `archey4` command alias. ln -s -f /usr/bin/archey /usr/bin/archey4 } post_upgrade() { post_install } pre_remove() { # Removes symbolic link created by `post_install`. if [ -L /usr/bin/archey4 ]; then rm /usr/bin/archey4 fi }