Skip to content

Commit

Permalink
Added "|| true" in case removing group from catalog fails
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.code.sf.net/p/daps/svn/trunk/daps@4514 2c1a2506-8097-4b87-b405-3e90b480097b
  • Loading branch information
tomschr committed Feb 19, 2015
1 parent 112d09d commit 2694708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packaging/suse-xsl-stylesheets.spec
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ fi
# delete ...
if [ "2" = "$1" ]; then
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
--del %{dtdname}-%{dtdversion}
--del %{dtdname}-%{dtdversion} || true
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
--del %{name}
--del %{name} || true
fi

# ... and (re)add it again
Expand Down

0 comments on commit 2694708

Please sign in to comment.