mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 22:34:05 -07:00
Moving to myvestacp.com
This commit is contained in:
parent
8e81b7cf19
commit
d1cba4e5cc
1 changed files with 7 additions and 0 deletions
|
@ -10,4 +10,11 @@ if [ -x "/root/vesta-patch.sh" ]; then
|
|||
/root/vesta-patch.sh
|
||||
fi
|
||||
|
||||
check_apt=$(grep -c 'vesta.hostingpanel.dev' /etc/apt/sources.list.d/vesta.list)
|
||||
if [ "$check_apt" -eq 1 ]; then
|
||||
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
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue