Commit 2139afa0 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

obs/re6st: ignore if find command fails in prerm

parent cb3c2f17
Pipeline #38698 failed with stage
in 0 seconds
...@@ -5,7 +5,7 @@ pyclean() { ...@@ -5,7 +5,7 @@ pyclean() {
local IFS=' local IFS='
' '
find `dpkg -L $1 |sed -n 's,[^/]*\.py$,__pycache__,p' | find `dpkg -L $1 |sed -n 's,[^/]*\.py$,__pycache__,p' |
sort -u` -delete 2>/dev/null sort -u` -delete 2>/dev/null || true
} }
pyclean $DPKG_MAINTSCRIPT_PACKAGE pyclean $DPKG_MAINTSCRIPT_PACKAGE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment