diff --git a/packages/paper-icon-theme/debian/postinst b/packages/paper-icon-theme/debian/postinst index 7a74ffca4949417ca767b0e40633e7cffe872dbb..bb7026640c8feb250a96b4a6d26235ce56298199 100644 --- a/packages/paper-icon-theme/debian/postinst +++ b/packages/paper-icon-theme/debian/postinst @@ -1,8 +1,15 @@ #! /bin/sh set -e +# Register cursor theme if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then update-alternatives --install /usr/share/icons/default/index.theme \ x-cursor-theme /usr/share/icons/Paper/cursor.theme 150 fi +# Make ibus icon available +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + cp /usr/share/icons/Paper/16x16/panel/indicator-keyboard.svg /usr/share/icons/Paper/16x16/panel/ibus-keyboard.svg + cp /usr/share/icons/Paper/22x22/panel/indicator-keyboard.svg /usr/share/icons/Paper/22x22/panel/ibus-keyboard.svg + cp /usr/share/icons/Paper/24x24/panel/indicator-keyboard.svg /usr/share/icons/Paper/24x24/panel/ibus-keyboard.svg +fi