diff --git a/src/deb/for-download/tools/convert-vesta-to-myvesta.sh b/src/deb/for-download/tools/convert-vesta-to-myvesta.sh new file mode 100644 index 00000000..0154297f --- /dev/null +++ b/src/deb/for-download/tools/convert-vesta-to-myvesta.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# *** Debian only *** + +wget -O - http://apt.myvestacp.com/deb_signing.key | sudo apt-key add - +codename="$(cat /etc/os-release |grep VERSION= |cut -f 2 -d \(|cut -f 1 -d \))" +echo "deb http://apt.myvestacp.com/$codename/ $codename vesta" > /etc/apt/sources.list.d/vesta.list +apt update +apt install -y vesta vesta-php vesta-nginx + +service vesta stop +service vesta start