-incorrectly removing directories in pypo-uninstall script fixed

This commit is contained in:
martin 2011-03-23 16:37:35 -04:00
parent 7c605c4a28
commit 36a68aa589
1 changed files with 4 additions and 4 deletions

View File

@ -38,16 +38,16 @@ try:
remove_path(BASE_PATH)
print "Removing daemontool script pypo"
remove_path("rm -rf /etc/service/pypo")
remove_path("/etc/service/pypo")
if os.path.exists("/etc/service/pypo-fetch"):
remove_path("rm -rf /etc/service/pypo-fetch")
remove_path("/etc/service/pypo-fetch")
if os.path.exists("/etc/service/pypo-push"):
remove_path("rm -rf /etc/service/pypo-push")
remove_path("/etc/service/pypo-push")
print "Removing daemontool script pypo-liquidsoap"
remove_path("rm -rf /etc/service/pypo-liquidsoap")
remove_path("/etc/service/pypo-liquidsoap")
remove_user("pypo")
print "Uninstall complete."