Commit cc3e55a8 authored by Bernhard Landauer's avatar Bernhard Landauer

accountsservice 0.6.55 file permissions

parent 3b806753
#
# Maintainer : Philip Müller <philm[at]manjaro[dot]org>
# Maintainer : Roland Singer <roland[at]manjaro[dot]org>
# Contributor: Rob McCathie <rob[at]manjaro[dot]org>
# Contributor: Alexandru Ianu <alexandru[at]manjaro[dot]org>
# Maintainer : Philip Müller <philm@manjaro.org>
# Maintainer : Bernhard Landauer <oberon@manjaro.org>
pkgname=manjaro-system
pkgver=$(date +%Y%m%d)
pkgrel=3
pkgrel=1
pkgdesc="Manjaro Linux System - Update script"
arch=('any')
url="http://www.manjaro.org"
......@@ -20,4 +18,3 @@ sha256sums=('e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855')
package() {
install -Dm755 "$srcdir/fsck.overlay" "$pkgdir/usr/bin/fsck.overlay"
}
......@@ -218,4 +218,10 @@ post_upgrade() {
rm /var/lib/pacman/db.lck &> /dev/null
pacman --noconfirm -S xfsprogs
fi
# adjust file permissions for accountsservice >= 0.6.55
if [ "$(vercmp $(pacman -Q 'accountsservice' | cut -d' ' -f2) 0.6.55-1)" == -1 ]; then
msg "adjusting file permissions for Accountsservice 0.6.55 ..."
chmod 700 /var/lib/AccountsService/users/
fi
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment