mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
commit
7fa86c3e6e
4 changed files with 7 additions and 6 deletions
|
@ -9,7 +9,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
|
||||||
## Overview
|
## Overview
|
||||||
The federated image sharing service Pixelfed, for YunoHost
|
The federated image sharing service Pixelfed, for YunoHost
|
||||||
|
|
||||||
**Shipped version:** 0.10.6
|
**Shipped version:** 0.10.7
|
||||||
|
|
||||||
## Important points to read before installing
|
## Important points to read before installing
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/pixelfed/pixelfed/archive/v0.10.6.tar.gz
|
SOURCE_URL=https://github.com/pixelfed/pixelfed/archive/v0.10.7.tar.gz
|
||||||
SOURCE_SUM=74d6f93ffdfb7d55d9282ab91bef906297801deda5b1924d140cb582e169cc13
|
SOURCE_SUM=01b0b9acdc9b9de3837fad0fb766dbefe68272c2d413d2da810c7e1252484525
|
||||||
OURCE_SUM_PRG=sha256sum
|
OURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "ActivityPub Federated Image Sharing",
|
"en": "ActivityPub Federated Image Sharing",
|
||||||
"fr": "Logiciel de partage d'image fédéré via ActivityPub"
|
"fr": "Logiciel de partage d'image fédéré via ActivityPub"
|
||||||
},
|
},
|
||||||
"version": "0.10.6~ynh2",
|
"version": "0.10.7~ynh1",
|
||||||
"url": "https://pixelfed.org/",
|
"url": "https://pixelfed.org/",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"maintainer": [
|
"maintainer": [
|
||||||
|
|
|
@ -102,8 +102,9 @@ ynh_install_php () {
|
||||||
# Set php7.0 back as the default version for php-cli.
|
# Set php7.0 back as the default version for php-cli.
|
||||||
update-alternatives --set php /usr/bin/php7.0
|
update-alternatives --set php /usr/bin/php7.0
|
||||||
|
|
||||||
# Remove this extra repository after packages are installed
|
# Pin this extra repository after packages are installed to prevent sury of doing shit
|
||||||
ynh_remove_extra_repo --name=extra_php_version
|
ynh_pin_repo --package="*" --pin="origin \"packages.sury.org\"" 200 --name=extra_php_version
|
||||||
|
ynh_pin_repo --package="php7.0*" --pin="origin \"packages.sury.org\"" 600 --name=extra_php_version --append
|
||||||
|
|
||||||
# Advertise service in admin panel
|
# Advertise service in admin panel
|
||||||
yunohost service add php${phpversion}-fpm --log "/var/log/php${phpversion}-fpm.log"
|
yunohost service add php${phpversion}-fpm --log "/var/log/php${phpversion}-fpm.log"
|
||||||
|
|
Loading…
Add table
Reference in a new issue