From 50cc5d5b35a1580d0c3f1574ce1dd1d3b514432a Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sun, 29 Sep 2019 19:23:25 +0200 Subject: [PATCH] convert-vesta-to-myvesta.sh --- .../for-download/tools/convert-vesta-to-myvesta.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/deb/for-download/tools/convert-vesta-to-myvesta.sh 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