#!/bin/sh
# Copyright (C) 2016 Algo Communication Products Ltd.

TARGET=$1

PATH=$PATH:/opt/algo/bin
cd /apps
if [ -f "/apps/upgrade/$TARGET" ]; then
	unzip -o "upgrade/$TARGET"
	sync
fi
