User Tools

Site Tools


start:nightlyupgradedebian

This is an old revision of the document!


i-MSCP automatic Update process Debian

Version Info

Script Version 0.1.0
Authori-MSCP Team → http://i-mscp.net
LicenseGPLv2
i-MSCP compatibility version All Versions
Last Update07.02.2014

Script

#!/bin/sh
#
# i-MSCP automatic Update process Debian
# Version: 0.2.0
# Date: 2014.01.15
# License: GPLv2
# Author : gOOvER
# Author : i-MSCP Team
# Credits: i-mscp development Team
 
# Branch from with i-MSCP must be installed/updated
# Note: This can be also a specific git tag
branch="1.2.x"
 
# Current directory
pwd=$(pwd)
 
#==== Installing/Updating distro packages ====
aptitude update
aptitude -y install git
 
#==== Cloning / updating i-MSCP git repository ====
clear
 
mkdir -p /usr/local/src/imscp
cd /usr/local/src/imscp
 
if [ ! -d .git ]; then
        echo "#### Cloning i-MSCP Git repository ####"
        git clone git://github.com/i-MSCP/imscp.git .
        git checkout ${branch}
else
        echo "#### Updating i-MSCP Git repository ####"
        git fetch
        git checkout ${branch}
        git pull
fi
 
#==== Starting i-MSCP installer ====
#perl imscp-autoinstall -d
 
cd ${pwd}
/var/www/virtual/i-mscp.net/wiki/htdocs/data/attic/start/nightlyupgradedebian.1421278763.txt.gz · Last modified: 2015/01/14 23:39 by nuxwin