diff options
author | Niels Thykier <niels@thykier.net> | 2018-01-20 12:23:22 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2018-01-20 12:23:22 +0000 |
commit | dc8a46399352a057cb8fcb01511a14fff8e0c630 (patch) | |
tree | ba57eeb61546ee685a7f403ad4cae9dc6b225c20 /autoscripts/postinst-icons | |
parent | 0fe29da4a330a5ef2692727809e219aaafea4b6c (diff) | |
download | debhelper-dc8a46399352a057cb8fcb01511a14fff8e0c630.tar.gz |
autoscripts/postinst-*: Handle all current abort-* cases
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'autoscripts/postinst-icons')
-rw-r--r-- | autoscripts/postinst-icons | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/autoscripts/postinst-icons b/autoscripts/postinst-icons index 9e00f039..aa2eed0e 100644 --- a/autoscripts/postinst-icons +++ b/autoscripts/postinst-icons @@ -1,3 +1,5 @@ -if which update-icon-caches >/dev/null 2>&1 ; then - update-icon-caches #DIRLIST# +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then + if which update-icon-caches >/dev/null 2>&1 ; then + update-icon-caches #DIRLIST# + fi fi |