From d37bfde83dad8b42b92670437942e2f2dcc55425 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 19 May 2020 07:59:35 +0200 Subject: [PATCH] postinst-setup-ostree: Drop obsolete steps Not using mock any more, and backup is now triggered by systemd timer. --- postinst-setup-ostree | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/postinst-setup-ostree b/postinst-setup-ostree index afb1422..b05a198 100755 --- a/postinst-setup-ostree +++ b/postinst-setup-ostree @@ -1,18 +1,7 @@ #!/bin/sh set -ex -# create user -if ! grep -q ^mock: /etc/group; then - getent group mock | sed 's/$/martin/' >> /etc/group -fi - -# copy back NM connections and fix SELinux context +# copy NM connections and fix SELinux context cp /home/martin/archiv/system-config/* /etc/ chcon -R -t NetworkManager_etc_t -u system_u /etc/NetworkManager chcon -R -t NetworkManager_etc_rw_t -u system_u /etc/NetworkManager/NetworkManager.conf /etc/NetworkManager/system-connections - -# crontabs -crontab -u martin - </dev/null -EOF -- 2.39.2