mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Jessie backports
This commit is contained in:
parent
82b635f8da
commit
35df8ba980
1 changed files with 11 additions and 0 deletions
|
@ -478,6 +478,17 @@ echo "deb http://$RHOST/$codename/ $codename vesta" > $apt/vesta.list
|
||||||
wget $CHOST/deb_signing.key -O deb_signing.key
|
wget $CHOST/deb_signing.key -O deb_signing.key
|
||||||
apt-key add deb_signing.key
|
apt-key add deb_signing.key
|
||||||
|
|
||||||
|
# Installing jessie backports
|
||||||
|
if [ "$release" -eq 8 ]; then
|
||||||
|
if [ ! -e /etc/apt/apt.conf ]; then
|
||||||
|
echo 'Acquire::Check-Valid-Until "false";' >> /etc/apt/apt.conf
|
||||||
|
fi
|
||||||
|
if [ ! -e /etc/apt/sources.list.d/backports.list ]; then
|
||||||
|
echo "deb http://archive.debian.org/debian jessie-backports main" >\
|
||||||
|
/etc/apt/sources.list.d/vesta.list
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
# Backup #
|
# Backup #
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue