1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

Remove backport usage

This commit is contained in:
Jean-Baptiste Holcroft 2018-06-28 22:50:04 +02:00
parent 0b26703bdd
commit 3f0f04c5a0
3 changed files with 4 additions and 10 deletions

View file

@ -8,7 +8,7 @@
"description": {
"en": "A modern, convivial and free music server"
},
"version": "0.15~ynh1",
"version": "0.15~ynh2",
"url": "https://funkwhale.audio",
"license": "BSD-3-Clause",
"maintainer": {

View file

@ -70,10 +70,6 @@ ynh_app_setting_set "$app" port "$port"
# INSTALL DEPENDENCIES
#=================================================
# add backports (required to install ffmpeg)
echo "deb http://httpredir.debian.org/debian stretch-backports main" | tee /etc/apt/sources.list.d/stretch-backports.list
ynh_package_update
ynh_install_app_dependencies build-essential curl ffmpeg \
libjpeg-dev libmagic-dev libpq-dev postgresql python3-dev python3-venv \
redis-server \

View file

@ -35,11 +35,9 @@ if [ -z "$redis_db" ]; then
ynh_app_setting_set "$app" redis_db "$redis_db"
fi
# Make sure we use stretch backports and not jessie's
if [ ! -f /etc/apt/sources.list.d/stretch-backports.list ]; then
echo "deb http://httpredir.debian.org/debian stretch-backports main" | tee /etc/apt/sources.list.d/stretch-backports.list
# We don't need backports anymore
ynh_secure_remove /etc/apt/sources.list.d/stretch-backports.list
ynh_secure_remove /etc/apt/sources.list.d/jessie-backports.list
fi
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP