1 2 3 4 5
#!/bin/sh -e if [ "$1" != "upgrade" ]; then update-alternatives --remove pd /usr/bin/pd-extended fi