Z-Push patch updated to 2.7.0

With the release of v62, you may receive the following error message:

From https://github.com/mail-in-a-box/mailinabox
 * [new tag]         v62        -> v62
error: Your local changes to the following files would be overwritten by checkout:
        setup/zpush.sh
Please commit your changes or stash them before you switch branches.
Aborting
Update failed. Did you modify something in /home/ubuntu/mailinabox?

By creating the below as a script and running with cat ./script.sh | sudo -E bash or running each command will fix this up:

#!/bin/bash
cd $HOME/mailinabox
git fetch --depth 1 --force --prune origin tag v62
git checkout setup/zpush.sh
git checkout -q v62

and then run the Mail-in-a-Box setup again

1 Like