Finish uninstall task
This commit is contained in:
@@ -62,3 +62,15 @@ def install_webserver():
|
||||
|
||||
if env.os == OS_UBUNTU:
|
||||
ubuntu.install_webserver()
|
||||
|
||||
|
||||
@task
|
||||
def delete_mayan():
|
||||
"""
|
||||
Delete Mayan EDMS from the OS
|
||||
"""
|
||||
|
||||
print(green('Deleting Mayan EDMS files', bold=True))
|
||||
|
||||
if env.os == OS_UBUNTU:
|
||||
ubuntu.delete_mayan()
|
||||
|
||||
@@ -10,9 +10,9 @@ def install_dependencies():
|
||||
sudo('apt-get install -y git-core gcc tesseract-ocr unpaper python-virtualenv ghostscript libjpeg-dev libpng-dev poppler-utils')
|
||||
|
||||
|
||||
def uninstall():
|
||||
def delete_mayan():
|
||||
"""
|
||||
Uninstall Mayan EDMS from an Ubuntu system
|
||||
Delete Mayan EDMS files from an Ubuntu system
|
||||
"""
|
||||
sudo('rm %s -Rf' % env.virtualenv_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user