alpha-quadrant/app-admin/webapp-config/files/webapp-config-1.50.16-htdocs-symlink.patch
2009-12-18 12:26:36 +01:00

14 lines
509 B
Diff

Index: webapp-config-1.50.16/WebappConfig/server.py
===================================================================
--- webapp-config-1.50.16.orig/WebappConfig/server.py
+++ webapp-config-1.50.16/WebappConfig/server.py
@@ -158,7 +158,7 @@ class Basic:
# is the installation directory empty?
- if not os.listdir(self.__destd):
+ if not os.listdir(self.__destd) and os.path.isdir(self.__destd):
if not self.__p:
os.rmdir(self.__destd)
else: