From 8846aef9dbc93fd9e59ec7bfa46f24cefe57ba4b Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sat, 2 Sep 2023 23:38:05 -0400 Subject: [PATCH] Add enable-linger for podman --- deb_bugger.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deb_bugger.sh b/deb_bugger.sh index f43bfd2..b311f31 100755 --- a/deb_bugger.sh +++ b/deb_bugger.sh @@ -73,6 +73,12 @@ apt-get -y install git libsecret-1-0 libsecret-1-dev build-essential vim \ postgresql-server-dev-15 emacs-goodies-extra-el \ elpa-dockerfile-mode elpa-web-mode elpa-yaml-mode docker-compose- +# Need this for rootless podman +if grep -q '^daniel' /etc/shadow; then + loginctl enable-linger daniel +fi + +# Credential helper for git (cd /usr/share/doc/git/contrib/credential/libsecret make)