Skip to content

Commit

Permalink
Simplify with the purpose of fixing #1580
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Mar 20, 2024
1 parent 0f956cd commit e50fa71
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmake/support/install-scripts/postrm.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,5 @@ export PATH=${MCCODE_BINDIR}:${PATH}

# Remove html files if mcdoc is no longer installed
if [ ! -x ${MCCODE_BINDIR}/${MC}doc ]; then
find ${MCCODE_RESOURCEDIR} -iname '*.instr' -or -iname '*.comp' | \
while read comp; do
rm -f $(dirname ${comp})/$(basename ${comp} .instr).html ;
rm -f $(dirname ${comp})/$(basename ${comp} .comp).html ;
done
find ${MCCODE_RESOURCEDIR} -iname '*.html' --exec rm -f \{\} \;
fi

0 comments on commit e50fa71

Please sign in to comment.