[arch-commits] Commit in profile-sync-daemon/trunk (2 files)

David Runge dvzrv at gemini.archlinux.org
Thu Sep 8 07:01:48 UTC 2022


    Date: Thursday, September 8, 2022 @ 07:01:48
  Author: dvzrv
Revision: 1296145

upgpkg: profile-sync-daemon 1:6.47-1: Upgrade to 6.47.

Add addition to pre_upgrade so that user services are stopped.

Modified:
  profile-sync-daemon/trunk/PKGBUILD
  profile-sync-daemon/trunk/profile-sync-daemon.install

-----------------------------+
 PKGBUILD                    |    6 +++---
 profile-sync-daemon.install |   11 +++++++++++
 2 files changed, 14 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-08 06:55:09 UTC (rev 1296144)
+++ PKGBUILD	2022-09-08 07:01:48 UTC (rev 1296145)
@@ -2,7 +2,7 @@
 # Contributor: graysky <graysky AT archlinux DOT us>
 
 pkgname=profile-sync-daemon
-pkgver=6.45
+pkgver=6.47
 pkgrel=1
 epoch=1
 pkgdesc="Symlinks and syncs browser profile dirs to RAM"
@@ -13,8 +13,8 @@
 optdepends=('zsh-completions: for completion when using zsh')
 install=$pkgname.install
 source=($pkgname-$pkgver.tar.gz::https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz)
-sha512sums=('6408d506f48671ad1340ce4a60109a482565c7174f56db8a528884319594b901b3d2d7e99b30536992934065ad2fbaff7a9335cd1952a7a1aaf6c920fb9aa90e')
-b2sums=('0b891fe3ad05e22fc32087d451ad987379654419fcbe73aeeb9c536b5f5f834700ea4c0d8b5a5f4dbbfb010171fd40508d348f531eb56bb085717c4c36fd0517')
+sha512sums=('40ef4d9a234391d33a11c16308263dcb953acbf35df28fe9840fa544467150f269e7d7a567bc53a4e5d98c33611eec816c51226c69cb1dd69c2649c1935066fe')
+b2sums=('d00b07997a5dc1ab981aeb96d1288ed1af8f0c7d432758adb64b3fd3b0cb9b9d0bb61106c55153246e3cad18f2f5d73bee7928e4dfb5df4f6c775f041cd968da')
 
 build() {
   make -C $pkgname-$pkgver

Modified: profile-sync-daemon.install
===================================================================
--- profile-sync-daemon.install	2022-09-08 06:55:09 UTC (rev 1296144)
+++ profile-sync-daemon.install	2022-09-08 07:01:48 UTC (rev 1296145)
@@ -95,6 +95,17 @@
   if [ "$(vercmp "$2" 6.40)" -lt 0 ]; then
     _diff_recommendation
   fi
+
+  # version 6.46 redefines the location of tmpfs for the software so it is
+  # required that pacman stop the user service here if running
+  if [ "$(vercmp "$2" 1:6.46)" -lt 0 ]; then
+    for user in $users; do
+      if _psd_running_for_user "$user"; then
+        _stop_psd_for_user "$user"
+      fi
+    done
+  fi
+
 }
 
 post_upgrade() {



More information about the arch-commits mailing list