blob: 86fd91cf313e5911668173806ba0fed3faef508f [file] [log] [blame] [edit]
#!/bin/sh
set -e
add_diversion() {
dpkg-divert --package @GST_LIB_DEV@ --add --rename \
--divert "$1-gst0.10" "$1"
}
if [ "$1" = "upgrade" ] || [ "$1" = "install" ]; then
add_diversion /usr/bin/dh_gstscancodecs
add_diversion /usr/share/man/man1/dh_gstscancodecs.1.gz
fi
#DEBHELPER#
exit 0