Debian Codegraph @

debian/deepin-icon-theme.preinst

raw
1 #! /bin/sh
2 set -e
3
4 if [ "$1" = "upgrade" ]; then
5 # remove old deepin theme, version less than 15.12.71
6 if dpkg --compare-versions "$2" le "15.12.71-9999" ; then
7 update-alternatives --remove x-cursor-theme \
8 /usr/share/icons/deepin/cursor.theme
9 fi
10 fi
11
12 #DEBHELPER#