[arch-commits] Commit in deepin-api/trunk (PKGBUILD deepin-api.install)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Aug 26 08:12:12 UTC 2022
Date: Friday, August 26, 2022 @ 08:12:11
Author: felixonmars
Revision: 1281132
upgpkg: deepin-api 5.5.25-2: fix sysusers filename
Modified:
deepin-api/trunk/PKGBUILD
deepin-api/trunk/deepin-api.install
--------------------+
PKGBUILD | 2 +-
deepin-api.install | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-26 08:12:00 UTC (rev 1281131)
+++ PKGBUILD 2022-08-26 08:12:11 UTC (rev 1281132)
@@ -4,7 +4,7 @@
pkgname=deepin-api
pkgver=5.5.25
-pkgrel=1
+pkgrel=2
pkgdesc='Golang bindings for dde-daemon'
arch=('x86_64')
url="https://github.com/linuxdeepin/dde-api"
Modified: deepin-api.install
===================================================================
--- deepin-api.install 2022-08-26 08:12:00 UTC (rev 1281131)
+++ deepin-api.install 2022-08-26 08:12:11 UTC (rev 1281132)
@@ -2,13 +2,13 @@
# We need to know uid and gid to create /var/lib/deepin-sound-player with proper
# permissions. So keep systemd-sysusers invocation here despite having
# pacman hooks.
- systemd-sysusers deepin-sound-player.conf
+ systemd-sysusers deepin-api.conf
mkdir -p var/lib/deepin-sound-player
chown -R deepin-sound-player:deepin-sound-player var/lib/deepin-sound-player
}
post_upgrade() {
- if (( $(vercmp $2 5.2.0.1-2) < 0)); then
+ if (( $(vercmp $2 5.5.25-2) < 0)); then
usermod -d /var/lib/deepin-sound-player deepin-sound-player
mkdir -p var/lib/deepin-sound-player
chown -R deepin-sound-player:deepin-sound-player var/lib/deepin-sound-player
More information about the arch-commits
mailing list