Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / systemd
Commits: 6f6d48b2 by Christian Hesse at 2024-06-17T09:44:49+02:00 upgpkg: 256-2: update shells Fixes: https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/issues/31 - - - - - 3 changed files: - .SRCINFO - PKGBUILD - systemd.install Changes: ===================================== .SRCINFO ===================================== @@ -1,6 +1,6 @@ pkgbase = systemd pkgver = 256 - pkgrel = 1 + pkgrel = 2 url = https://www.github.com/systemd/systemd arch = x86_64 license = LGPL-2.1-or-later ===================================== PKGBUILD ===================================== @@ -11,7 +11,7 @@ _tag='256' # way or another. So we replace dashes and tildes with the empty string to # make sure pacman's version comparing does the right thing for rc versions: pkgver="${_tag/[-~]/}" -pkgrel=1 +pkgrel=2 arch=('x86_64') license=('LGPL-2.1-or-later') url='https://www.github.com/systemd/systemd' ===================================== systemd.install ===================================== @@ -13,6 +13,10 @@ add_journal_acls() { post_common() { systemd-sysusers journalctl --update-catalog + + if ! grep -qe '^/usr/bin/systemd-home-fallback-shell$' etc/shells; then + echo '/usr/bin/systemd-home-fallback-shell' >> etc/shells + fi } post_install() { @@ -60,4 +64,8 @@ post_upgrade() { done } +post_remove() { + sed -i -r '/^\/usr\/bin\/systemd-home-fallback-shell$/d' etc/shells +} + # vim:set ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/commit/6f6d48b221efc8420cb880d5d2bc860157f0e46c -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/commit/6f6d48b221efc8420cb880d5d2bc860157f0e46c You're receiving this email because of your account on gitlab.archlinux.org.