diff --git a/contrib/debian/fwupd.postinst b/contrib/debian/fwupd.postinst index 0987bb33c..d7d2b9cc6 100644 --- a/contrib/debian/fwupd.postinst +++ b/contrib/debian/fwupd.postinst @@ -29,6 +29,6 @@ rm -f /var/lib/fwupdate/done rm -f /var/cache/fwupdate/done for dir in /var/cache/fwupdate /var/lib/fwupdate; do if [ -d $dir ]; then - rmdir --parents --ignore-fail-on-non-empty $dir || true + rmdir --ignore-fail-on-non-empty $dir || true fi done