diff options
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
