1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
post_install() { # for icon in /usr/share/icons/hicolor/*/apps/pioneer.png # do # if [[ $icon =~ /([0-9]+)x[0-9]+/ ]]; then # xdg-icon-resource install --novender --size ${BASH_REMATCH[1]} $icon # fi # done xdg-icon-resource forceupdate } post_upgrade() { post_install $1 } post_remove() { post_install $1 }