diff --git a/.travis.yml b/.travis.yml index e0235ad..5445688 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,13 @@ before_script: - unset LANG - sudo apt-get install --assume-yes --quiet git python3-setuptools python3-dev python3-apt ccze tree +after_script: + - sudo cat /etc/nginx/nginx.conf | ccze -A + - sudo cat /var/log/wo/wordops.log | ccze -A + - sudo cat /etc/mysql/my.cnf | ccze -A + - sudo bash install --purge + + script: - lsb_release -a - sudo bash -c 'echo -e "[user]\n\tname = abc\n\temail = root@localhost.com" > /home/travis/.gitconfig' @@ -36,10 +43,3 @@ script: - sudo wo update --travis - sudo wo stack status - - sudo wo stack purge --all --force - - sudo bash install --purge - -after_script: - - sudo cat /etc/nginx/nginx.conf | ccze -A - - sudo cat /var/log/wo/wordops.log | ccze -A - - sudo cat /etc/mysql/my.cnf | ccze -A diff --git a/tests/travis.sh b/tests/travis.sh index 0ea2467..d4b74b3 100644 --- a/tests/travis.sh +++ b/tests/travis.sh @@ -132,3 +132,4 @@ echo -e ' various informations ' echo -e "${CGREEN}#############################################${CEND}" wp --allow-root --info wo site info wp1.com +wo stack purge --all --force \ No newline at end of file diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index 1a9ae5c..833750e 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -925,11 +925,11 @@ class WOStackController(CementBaseController): 'kickstart.sh']).issubset(set(packages))): if WOVariables.wo_distro == 'Raspbian': WOShellExec.cmd_exec(self, "bash /usr/" - "libexec/netdata-" + "libexec/netdata/netdata-" "uninstaller.sh -y -f") else: WOShellExec.cmd_exec(self, "bash /opt/netdata/usr/" - "libexec/netdata-" + "libexec/netdata/netdata-" "uninstaller.sh -y -f") if (apt_packages):