mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Add libicu-dev and libidn11-dev
This commit is contained in:
parent
1f948e706a
commit
0307451906
3 changed files with 3 additions and 7 deletions
|
@ -43,9 +43,5 @@ sudo su - postgres <<COMMANDS
|
||||||
pg_dump --role=mastodon -U postgres --no-password mastodon_production > mastodon_db.sql
|
pg_dump --role=mastodon -U postgres --no-password mastodon_production > mastodon_db.sql
|
||||||
COMMANDS
|
COMMANDS
|
||||||
ynh_backup "/var/lib/postgresql/${app}_db.sql" "${app}_db.sql"
|
ynh_backup "/var/lib/postgresql/${app}_db.sql" "${app}_db.sql"
|
||||||
<<<<<<< HEAD
|
|
||||||
#rm /var/lib/postgresql/mastodon_db.sql
|
|
||||||
=======
|
|
||||||
# Fix backup fail on yunohost 2.6
|
# Fix backup fail on yunohost 2.6
|
||||||
#ynh_secure_remove /var/lib/postgresql/mastodon_db.sql
|
#ynh_secure_remove /var/lib/postgresql/mastodon_db.sql
|
||||||
>>>>>>> refs/remotes/YunoHost-Apps/master
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ ynh_app_setting_set $app language $language
|
||||||
sudo adduser $app --home /opt/$app --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password --disabled-login
|
sudo adduser $app --home /opt/$app --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password --disabled-login
|
||||||
|
|
||||||
# Install debian package
|
# Install debian package
|
||||||
ynh_package_install imagemagick libpq-dev libxml2-dev libxslt1-dev file curl apt-transport-https pkg-config libprotobuf-dev protobuf-compiler
|
ynh_package_install imagemagick libpq-dev libxml2-dev libxslt1-dev file curl apt-transport-https pkg-config libprotobuf-dev protobuf-compiler libicu-dev libidn11-dev
|
||||||
|
|
||||||
# Install redis package
|
# Install redis package
|
||||||
ynh_package_install redis-server redis-tools
|
ynh_package_install redis-server redis-tools
|
||||||
|
|
|
@ -65,7 +65,7 @@ if [[ $node_version =~ ^v4.*$ ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# add additional package for release 1.4
|
# add additional package for release 1.4
|
||||||
ynh_package_install pkg-config libprotobuf-dev protobuf-compiler
|
ynh_package_install pkg-config libprotobuf-dev protobuf-compiler libicu-dev libidn11-dev
|
||||||
|
|
||||||
# Apply Mastodon upgrade
|
# Apply Mastodon upgrade
|
||||||
sudo su - $app <<COMMANDS
|
sudo su - $app <<COMMANDS
|
||||||
|
|
Loading…
Reference in a new issue