You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by dg...@apache.org on 2018/11/21 14:48:07 UTC

[trafficcontrol] 07/09: Handle /opt/tomcat directories removal

This is an automated email from the ASF dual-hosted git repository.

dgelinas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit ecbb89765d45115428286f1d3baeef704e5cad03
Author: Steve Malenfant <st...@cox.com>
AuthorDate: Tue Nov 13 11:01:05 2018 -0500

    Handle /opt/tomcat directories removal
---
 traffic_router/tomcat-rpm/tomcat.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_router/tomcat-rpm/tomcat.spec b/traffic_router/tomcat-rpm/tomcat.spec
index 3988140..f3cc426 100644
--- a/traffic_router/tomcat-rpm/tomcat.spec
+++ b/traffic_router/tomcat-rpm/tomcat.spec
@@ -62,7 +62,7 @@ fi
 if [ -d /opt/apache-tomcat-* ]; then
   echo "Deleting unmanaged Tomcat install from < 2.3 version of Traffic Router"
   rm -rf /opt/apache-tomcat-*
-  rm -r /opt/tomcat
+  rm -rf /opt/tomcat
 fi
 
 %pre