Commit bd3a213e authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci

postrm: Removed divert files deletion

The deletion is both unnecessary and a bug: when the package is called with
the purge option, the postrm script is run two times, removing both the new
and the original files.
Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarAryane Ast dos Santos <aras10@c3sl.ufpr.br>
parent 86cda8ef
......@@ -42,7 +42,6 @@ DIVERTS="
if [[ "$1" != "upgrade" ]]; then
for file in $DIVERTS; do
rm -f ${file}
dpkg-divert --package le-proinfodata --remove --rename \
--divert ${file}{.real,}
done
......
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