if [ -x usr/bin/scrollkeeper-update ]; then
  usr/bin/scrollkeeper-update -p var/lib/scrollkeeper 1> /dev/null 2> /dev/null
fi

if [ -x usr/bin/update-desktop-database ]; then
  usr/bin/update-desktop-database 1> /dev/null 2> /dev/null
fi
( cd usr/share/pixmaps ; rm -rf gnome-television.png )
( cd usr/share/pixmaps ; ln -sf zapping/gnome-television.png gnome-television.png )
( cd usr/lib/zapping/plugins ; rm -rf libalirc.zapping.so.0 )
( cd usr/lib/zapping/plugins ; ln -sf libalirc.zapping.so.0.0.0 libalirc.zapping.so.0 )
( cd usr/lib/zapping/plugins ; rm -rf libalirc.zapping.so )
( cd usr/lib/zapping/plugins ; ln -sf libalirc.zapping.so.0.0.0 libalirc.zapping.so )
( cd usr/lib/zapping/plugins ; rm -rf libscreenshot.zapping.so.0 )
( cd usr/lib/zapping/plugins ; ln -sf libscreenshot.zapping.so.0.0.0 libscreenshot.zapping.so.0 )
( cd usr/lib/zapping/plugins ; rm -rf libscreenshot.zapping.so )
( cd usr/lib/zapping/plugins ; ln -sf libscreenshot.zapping.so.0.0.0 libscreenshot.zapping.so )
( cd usr/lib/zapping/plugins ; rm -rf libmpeg.zapping.so.0 )
( cd usr/lib/zapping/plugins ; ln -sf libmpeg.zapping.so.0.0.0 libmpeg.zapping.so.0 )
( cd usr/lib/zapping/plugins ; rm -rf libmpeg.zapping.so )
( cd usr/lib/zapping/plugins ; ln -sf libmpeg.zapping.so.0.0.0 libmpeg.zapping.so )
( cd usr/lib/zapping/plugins ; rm -rf libdeinterlace.zapping.so.0 )
( cd usr/lib/zapping/plugins ; ln -sf libdeinterlace.zapping.so.0.0.0 libdeinterlace.zapping.so.0 )
( cd usr/lib/zapping/plugins ; rm -rf libdeinterlace.zapping.so )
( cd usr/lib/zapping/plugins ; ln -sf libdeinterlace.zapping.so.0.0.0 libdeinterlace.zapping.so )
( cd usr/lib/zapping/plugins ; rm -rf libsubtitle.zapping.so.0 )
( cd usr/lib/zapping/plugins ; ln -sf libsubtitle.zapping.so.0.0.0 libsubtitle.zapping.so.0 )
( cd usr/lib/zapping/plugins ; rm -rf libsubtitle.zapping.so )
( cd usr/lib/zapping/plugins ; ln -sf libsubtitle.zapping.so.0.0.0 libsubtitle.zapping.so )
( cd usr/lib/zapping/plugins ; rm -rf libteletext.zapping.so.0 )
( cd usr/lib/zapping/plugins ; ln -sf libteletext.zapping.so.0.0.0 libteletext.zapping.so.0 )
( cd usr/lib/zapping/plugins ; rm -rf libteletext.zapping.so )
( cd usr/lib/zapping/plugins ; ln -sf libteletext.zapping.so.0.0.0 libteletext.zapping.so )
( cd usr/bin ; rm -rf zapping_setup_fb )
( cd usr/bin ; ln -sf /home/storage/build/package-zapping/usr/sbin/zapping_setup_fb zapping_setup_fb )
