From 9c0042df4afa04b59e0459b8aed391c231c90113 Mon Sep 17 00:00:00 2001 From: martinrusev Date: Sun, 20 Dec 2015 02:52:03 +0200 Subject: [PATCH] Update postinst script, point to the new repo path --- CHANGELOG.md | 5 +++++ amonagent/__init__.py | 2 +- packaging/debian/postinst | 2 +- packaging/rpm/postinst | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d04ce25..016f603 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +2.2.6 - 20.12.2015 +============== + +* Rename the repository + 2.2.6 - 25.08.2015 ============== diff --git a/amonagent/__init__.py b/amonagent/__init__.py index 5d724e8..04e6690 100644 --- a/amonagent/__init__.py +++ b/amonagent/__init__.py @@ -1 +1 @@ -__version__ = '2.2.6' +__version__ = '2.2.7' diff --git a/packaging/debian/postinst b/packaging/debian/postinst index c3586e2..9a1e885 100644 --- a/packaging/debian/postinst +++ b/packaging/debian/postinst @@ -37,7 +37,7 @@ case "$1" in curl --insecure --silent --show-error --retry 5 -L https://bootstrap.pypa.io/ez_setup.py -o - | python &> /dev/null curl --insecure --silent --show-error --retry 5 -L https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py | python &> /dev/null - pip install https://github.com/amonapp/amonagent/archive/master.zip &> /dev/null + pip install https://github.com/amonapp/amonagent-legacy/archive/master.zip &> /dev/null /etc/init.d/amon-agent restart diff --git a/packaging/rpm/postinst b/packaging/rpm/postinst index 52f1b11..4e1d568 100644 --- a/packaging/rpm/postinst +++ b/packaging/rpm/postinst @@ -30,7 +30,7 @@ chown -R amonagent:amonagent /etc/amonagent curl --insecure --silent --show-error --retry 5 -L https://bootstrap.pypa.io/ez_setup.py -o - | python &> /dev/null curl --insecure --silent --show-error --retry 5 -L https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py | python &> /dev/null -pip install https://github.com/amonapp/amonagent/archive/master.zip &> /dev/null +pip install https://github.com/amonapp/amonagent-legacy/archive/master.zip &> /dev/null /etc/init.d/amon-agent restart