Update to 3.5.2
This commit is contained in:
parent
c51dac582d
commit
4da1ac0135
6
.SRCINFO
6
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = mastodon
|
pkgbase = mastodon
|
||||||
pkgdesc = Your self-hosted, globally interconnected microblogging community
|
pkgdesc = Your self-hosted, globally interconnected microblogging community
|
||||||
pkgver = 3.5.1
|
pkgver = 3.5.2
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/mastodon/mastodon
|
url = https://github.com/mastodon/mastodon
|
||||||
install = mastodon.install
|
install = mastodon.install
|
||||||
|
@ -23,11 +23,11 @@ pkgbase = mastodon
|
||||||
depends = zlib
|
depends = zlib
|
||||||
options = !strip
|
options = !strip
|
||||||
backup = etc/mastodon.conf
|
backup = etc/mastodon.conf
|
||||||
source = https://github.com/mastodon/mastodon/archive/v3.5.1.tar.gz
|
source = https://github.com/mastodon/mastodon/archive/v3.5.2.tar.gz
|
||||||
source = mastodon.target
|
source = mastodon.target
|
||||||
source = mastodon.sysusers.d
|
source = mastodon.sysusers.d
|
||||||
source = mastodon.tmpfiles.d
|
source = mastodon.tmpfiles.d
|
||||||
sha512sums = 1fb6f2f17384f217e5a04f140ca35db33449f68cc780af24a2f6f7611874849b9a6fa86a8a930b2da457e4f40c36505761705d140ccb1a56b17ed287d659ae53
|
sha512sums = de9def1681f394872bf5959d8dab2f0434f519183028924664177e61cd361aea6d48d265d06c63f40624be16506102e30b510fbc720c4708286528d946e5e9d4
|
||||||
sha512sums = c9820c2a83d08bd5d842a78e924682db97ebd5c7291b682603ad30dafcdcc5816c13e717ad39554f042b9d9ed71ab902ce3f604952264a900a72612ee8060acb
|
sha512sums = c9820c2a83d08bd5d842a78e924682db97ebd5c7291b682603ad30dafcdcc5816c13e717ad39554f042b9d9ed71ab902ce3f604952264a900a72612ee8060acb
|
||||||
sha512sums = 4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a
|
sha512sums = 4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a
|
||||||
sha512sums = 27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f
|
sha512sums = 27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f
|
||||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -5,7 +5,7 @@
|
||||||
# Contributor: Fredrick Brennan <copypaste@kittens.ph>
|
# Contributor: Fredrick Brennan <copypaste@kittens.ph>
|
||||||
|
|
||||||
pkgname=mastodon
|
pkgname=mastodon
|
||||||
pkgver=3.5.1
|
pkgver=3.5.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Your self-hosted, globally interconnected microblogging community'
|
pkgdesc='Your self-hosted, globally interconnected microblogging community'
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
|
@ -33,7 +33,7 @@ source=(https://github.com/mastodon/mastodon/archive/v$pkgver.tar.gz
|
||||||
mastodon.target
|
mastodon.target
|
||||||
mastodon.sysusers.d
|
mastodon.sysusers.d
|
||||||
mastodon.tmpfiles.d)
|
mastodon.tmpfiles.d)
|
||||||
sha512sums=('1fb6f2f17384f217e5a04f140ca35db33449f68cc780af24a2f6f7611874849b9a6fa86a8a930b2da457e4f40c36505761705d140ccb1a56b17ed287d659ae53'
|
sha512sums=('de9def1681f394872bf5959d8dab2f0434f519183028924664177e61cd361aea6d48d265d06c63f40624be16506102e30b510fbc720c4708286528d946e5e9d4'
|
||||||
'c9820c2a83d08bd5d842a78e924682db97ebd5c7291b682603ad30dafcdcc5816c13e717ad39554f042b9d9ed71ab902ce3f604952264a900a72612ee8060acb'
|
'c9820c2a83d08bd5d842a78e924682db97ebd5c7291b682603ad30dafcdcc5816c13e717ad39554f042b9d9ed71ab902ce3f604952264a900a72612ee8060acb'
|
||||||
'4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a'
|
'4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a'
|
||||||
'27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f')
|
'27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f')
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
post_install() {
|
post_install() {
|
||||||
|
cd /var/lib/mastodon
|
||||||
|
|
||||||
echo "Setting ownership of mastodon files"
|
echo "Setting ownership of mastodon files"
|
||||||
chown mastodon:mastodon -R /var/lib/mastodon
|
chown mastodon:mastodon -R .
|
||||||
|
echo "Precompiling assets"
|
||||||
|
sudo -u mastodon RAILS_ENV=production bundle exec rails assets:precompile
|
||||||
|
|
||||||
echo "To setup Mastodon, enable and start PostgreSQL and Redis:
|
echo "To setup Mastodon, enable and start PostgreSQL and Redis:
|
||||||
# systemctl enable --now postgresql redis
|
# systemctl enable --now postgresql redis
|
||||||
|
@ -14,11 +18,12 @@ Finally, enable and start all the required services:
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
echo "Setting ownership of mastodon files"
|
cd /var/lib/mastodon
|
||||||
chown mastodon:mastodon -R /var/lib/mastodon
|
|
||||||
|
|
||||||
echo "To upgrade the database schema, run:
|
echo "Setting ownership of mastodon files"
|
||||||
# sudo -u mastodon RAILS_ENV=production bundle exec rails db:migrate
|
chown mastodon:mastodon -R .
|
||||||
To pre-compile assets, run:
|
echo "Upgrading database schema"
|
||||||
# sudo -u mastodon RAILS_ENV=production bundle exec rails assets:precompile"
|
sudo -u mastodon RAILS_ENV=production bundle exec rails db:migrate
|
||||||
|
echo "Precompiling assets"
|
||||||
|
sudo -u mastodon RAILS_ENV=production bundle exec rails assets:precompile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue