diff options
| author | nemsia <nemsia@nemsia.org> | 2018-06-12 18:32:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-12 18:32:43 +0200 |
| commit | 982f3bbde2178906fd1b8244a2bc207281b8a4ea (patch) | |
| tree | b07128e3d4e809401739dd3dab8c0524341559e4 /scripts/restore | |
| parent | 56e9231be42fc514bf0e8c7e2bbfd16a9c8e575b (diff) | |
| download | mastodon_ynh-982f3bbde2178906fd1b8244a2bc207281b8a4ea.tar.gz mastodon_ynh-982f3bbde2178906fd1b8244a2bc207281b8a4ea.tar.bz2 mastodon_ynh-982f3bbde2178906fd1b8244a2bc207281b8a4ea.zip | |
Testing 2.4 (#90)
* Ready to Yunohost 3 and Debian Stretch
* Remove mastodon cron tasks
* Fix Upgrade yarn not installed
* Fix Upgrade
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/restore b/scripts/restore index b9798a7..a800966 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 @@ -147,12 +149,6 @@ ynh_restore_file "/etc/systemd/system/$app-streaming.service" systemctl enable "$app-web" "$app-sidekiq" "$app-streaming" #================================================= -# RESTORE THE CRON FILE -#================================================= - -ynh_restore_file "/etc/cron.d/$app" - -#================================================= # GENERIC FINALIZATION #================================================= # RELOAD NGINX AND PHP-FPM |
