Commit 02d4a4d6 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #358 in ZP/z-push from...

Merge pull request #358 in ZP/z-push from bugfix/ZP-1029-z-push-directories-have-root-root to develop

* commit 'c842969d':
  ZP-1029 add instructions if z-push-admin failed. Released under the Affero GNU General Public License (AGPL) version 3.
parents dbb61c5e c842969d
...@@ -6,6 +6,13 @@ ...@@ -6,6 +6,13 @@
case "$1" in case "$1" in
configure) configure)
/usr/local/sbin/z-push-admin -a fixstates /usr/local/sbin/z-push-admin -a fixstates
if [ $? -ne 0 ]; then
YELLOW='\033[0;33m'
NC='\033[0m' # No Color
echo -e "${YELLOW}When upgrading from an earlier version you need to run 'z-push-admin -a fixstates'.\n
It seems the execution on setup has failed (see error above). Please fix the issue and run the command manually.\n
More information at https://wiki.z-hub.io/x/R4Ea${NC}\n"
fi
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment