diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-02-04 16:37:16 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-02-04 16:37:16 +0400 |
commit | 6ea7225a2457f1ef48f4cf2c715367b2b46f5319 (patch) | |
tree | f429d30d8cd37d7a8c0b58214e59f157901b682f /debian | |
parent | de38381df09d4e4cdedd0a9636a536c0574942b2 (diff) | |
download | apt-6ea7225a2457f1ef48f4cf2c715367b2b46f5319.tar.gz |
/etc/kernel/postinst.d/ does not exist on Dyson
Diffstat (limited to 'debian')
-rw-r--r-- | debian/apt.postinst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/apt.postinst b/debian/apt.postinst index fd3e273b..d6529d63 100644 --- a/debian/apt.postinst +++ b/debian/apt.postinst @@ -34,7 +34,9 @@ case "$1" in # create kernel autoremoval blacklist on update if dpkg --compare-versions "$2" lt 0.9.9.3; then - /etc/kernel/postinst.d/apt-auto-removal + if [ -x /etc/kernel/postinst.d/apt-auto-removal ]; then + /etc/kernel/postinst.d/apt-auto-removal + fi fi ;; |