From 6b181c17ba700382dec486dd6acd9011d97f86d8 Mon Sep 17 00:00:00 2001 From: Artem Proskurnev Date: Fri, 24 Dec 2021 11:32:18 +0300 Subject: [PATCH] Remove after install --- kometa-livecd-hack.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kometa-livecd-hack.spec b/kometa-livecd-hack.spec index 76947fd..c11da3b 100644 --- a/kometa-livecd-hack.spec +++ b/kometa-livecd-hack.spec @@ -1,8 +1,8 @@ Name: kometa-livecd-hack Summary: Hack to delete another live user Version: 0.1 -Release: kometa0 -License: GPL-3.0 +Release: kometa1 +License: GPLv3 Group: System/Base BuildArch: noarch Requires(post): livecd-install @@ -14,3 +14,4 @@ Requires(post): livecd-install %post sed -i'' -e 's,altlinux,kometa,g' /usr/lib/alterator/hooks/livecd-preinstall.d/90-userdel.sh +sed -i'' -e 's,nodm,nodm kometa-livecd-hack,g' /usr/lib/alterator/hooks/livecd-postinstall.d/95-remove-livecd-pkgs.sh