From dcf41efbe5a45d32054f55e281735628d311eecc Mon Sep 17 00:00:00 2001 From: nemsia Date: Fri, 8 Jun 2018 10:29:44 +0200 Subject: Ready to Yunohost 3 and Debian Stretch --- scripts/restore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/restore') diff --git a/scripts/restore b/scripts/restore index b9798a7..77cb229 100644 --- a/scripts/restore +++ b/scripts/restore @@ -88,7 +88,9 @@ if [[ "$arch" = arm* ]]; then fi # Install source.list debian package backports & yarn -cp ../conf/backports.list /etc/apt/sources.list.d/ +if [ "$(lsb_release --codename --short)" == "jessie" ]; then + cp ../conf/backports.list /etc/apt/sources.list.d/ +fi curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - cp ../conf/yarn.list /etc/apt/sources.list.d/ ynh_package_update -- cgit v1.2.3-70-g09d2