Daniel Bermond pushed to branch main at Arch Linux / Packaging / Packages / 
pkgfile


Commits:
e55cd810 by David Runge at 2026-07-17T09:52:01+02:00
Remove the mode change for /var/cache/pkgfile from alpm-install-scriptlet

The change was only relevant for a version upgrade from eight years ago.
Meanwhile, this type of transition can be done in the future using
tmpfiles.d integration.

Signed-off-by: David Runge <[email protected]>

- - - - -


1 changed file:

- pkgfile.install


Changes:

=====================================
pkgfile.install
=====================================
@@ -13,11 +13,7 @@ post_remove() {
 }
 
 post_upgrade() {
-    if [ "$(vercmp 19-1 "$2")" -eq '1' ]
-    then
-        printf '%s\n' '==> Changing permissions on /var/cache/pkgfile from 775 
to 755'
-        chmod 755 /var/cache/pkgfile
-    elif [ "$(vercmp 24-1 "$2")" -eq '1' ]
+    if [ "$(vercmp 24-1 "$2")" -eq '1' ]
     then
         printf '%s\n' "==> Database format has changed, run 'pkgfile --update' 
to refresh it"
     fi



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pkgfile/-/commit/e55cd810b2987f09e6ac40b20ba0ba371673ae0c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pkgfile/-/commit/e55cd810b2987f09e6ac40b20ba0ba371673ae0c
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to