diff options
author | Enrico Zini <enrico@enricozini.org> | 2011-03-20 19:18:53 +0000 |
---|---|---|
committer | Enrico Zini <enrico@enricozini.org> | 2011-03-20 19:18:53 +0000 |
commit | 9e7d767a9af5fa2f18cbd12b8f81dc3b0253f938 (patch) | |
tree | 31b8c7ebef08cbfadc5e8cf87c43a873d750529c /debian/ept-cache.postinst | |
parent | 6f8645c1dfd1d967a929aa5a3fbcb2e7503293a5 (diff) | |
download | libept-9e7d767a9af5fa2f18cbd12b8f81dc3b0253f938.tar.gz |
Test for dpkg-maintscript-helper existance before invoking it. Closes: #590220
Diffstat (limited to 'debian/ept-cache.postinst')
-rw-r--r-- | debian/ept-cache.postinst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/ept-cache.postinst b/debian/ept-cache.postinst index 57e0d8d..a43d119 100644 --- a/debian/ept-cache.postinst +++ b/debian/ept-cache.postinst @@ -9,7 +9,8 @@ if [ "$1" = "configure" ]; then fi fi -if dpkg-maintscript-helper supports rm_conffile; then +# FIXME: remove test when we are not interested in lenny anymore +if test -x /usr/bin/dpkg-maintscript-helper && dpkg-maintscript-helper supports rm_conffile; then dpkg-maintscript-helper rm_conffile /etc/cron.weekly/ept-cache 1.0.1 -- "$@" fi |