Skip to content

Instantly share code, notes, and snippets.

@bussnet
bussnet / imscp_upgrade
Created March 27, 2014 09:02
upgrade the installed imscp top the latest version
#!/bin/bash
# Install and download the latest Version of IMSCP
LATEST_VERSION=$(curl -s https://github.com/i-MSCP/imscp/releases/latest|grep -Po '(?<=/tag/)[0-9.]+')
INSTALLED_VERSION=$(cat /etc/imscp/imscp.conf|grep -Po '(?<=Version = )[0-9.]+')
TARGET=/usr/local/src/
echo "installed imscp-version: $INSTALLED_VERSION"