#!/bin/bash

set -e

ver="$1"
echo "$ver" > /etc/cpbx/cpbx-version
echo -e "SUCCESS. CompletePBX has been upgraded to v.${ver}."
