How to update reseller frontend

In order to update a reseller frontend that was installed following How to install reseller frontend you need to first update fleio-frontend from the official packages:

yum update fleio-frontend
apt-get update
apt-get upgrade fleio-frontend

The next step is to run the following command in order to re-enable the reseller frontend:

sed 's|<base href="/">|<base href="/reseller/">|' -i  /var/webapps/fleio/frontend/site/reseller/index.html