mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -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
|
/root/vesta-patch.sh
|
||||||
fi
|
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
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue