Commit e65befa3 authored by Bernhard Landauer's avatar Bernhard Landauer

adjust for systems without accountsservice installed

parent e3699acf
......@@ -3,7 +3,7 @@
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"
......
......@@ -218,7 +218,7 @@ post_upgrade() {
fi
# adjust file permissions for accountsservice >= 0.6.55
if [ "$(vercmp $(pacman -Q 'accountsservice' | cut -d' ' -f2) 0.6.55-1)" == -1 ]; then
if [ "$(vercmp $(pacman -Q | grep 'accountsservice' -m1 | cut -d' ' -f2) 0.6.55-1)" == -1 ]; then
msg "adjusting file permissions for Accountsservice 0.6.55 ..."
chmod 700 /var/lib/AccountsService/users/
chmod 755 /var/lib/AccountsService/icons/
......
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