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/remove | |
| 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/remove')
| -rw-r--r-- | scripts/remove | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/remove b/scripts/remove index 0c39054..e939908 100644 --- a/scripts/remove +++ b/scripts/remove @@ -98,12 +98,13 @@ ynh_secure_remove /etc/cron.d/$app #================================================= # REMOVE source.list #================================================= - -ynh_secure_remove /etc/apt/sources.list.d/backports.list +if [ "$(lsb_release --codename --short)" == "jessie" ]; then + ynh_secure_remove /etc/apt/sources.list.d/backports.list +fi ynh_secure_remove /etc/apt/sources.list.d/yarn.list # Delete ruby exec -ynh_secure_remove /usr/bin/ruby +#ynh_secure_remove /usr/bin/ruby #================================================= # GENERIC FINALIZATION |
