if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
( cd usr/lib/pd/extra/expr~ ; rm -rf fexpr~.pd_linux )
( cd usr/lib/pd/extra/expr~ ; ln -sf expr~.pd_linux fexpr~.pd_linux )
( cd usr/lib/pd/extra/expr~ ; rm -rf expr.pd_linux )
( cd usr/lib/pd/extra/expr~ ; ln -sf expr~.pd_linux expr.pd_linux )
( cd usr/lib/pd/extra ; rm -rf fexpr~-help.pd )
( cd usr/lib/pd/extra ; ln -sf expr~/expr-help.pd fexpr~-help.pd )
( cd usr/lib/pd/extra ; rm -rf expr~.pd_linux )
( cd usr/lib/pd/extra ; ln -sf expr~/expr~.pd_linux expr~.pd_linux )
( cd usr/lib/pd/extra ; rm -rf fexpr~.pd_linux )
( cd usr/lib/pd/extra ; ln -sf expr~/fexpr~.pd_linux fexpr~.pd_linux )
( cd usr/lib/pd/extra ; rm -rf expr-help.pd )
( cd usr/lib/pd/extra ; ln -sf expr~/expr-help.pd expr-help.pd )
( cd usr/lib/pd/extra ; rm -rf expr~-help.pd )
( cd usr/lib/pd/extra ; ln -sf expr~/expr-help.pd expr~-help.pd )
( cd usr/lib/pd/extra ; rm -rf expr.pd_linux )
( cd usr/lib/pd/extra ; ln -sf expr~/expr.pd_linux expr.pd_linux )
( cd usr/doc/pd-0.45.3 ; rm -rf docs )
( cd usr/doc/pd-0.45.3 ; ln -sf /usr/lib/pd/doc/ docs )
