From c2392a98aec1203de3f55dc0a29fde6d5e618491 Mon Sep 17 00:00:00 2001 From: kraoc Date: Fri, 3 May 2024 12:22:16 +0200 Subject: [PATCH] =?UTF-8?q?correction=20sur=20la=20g=C3=A9n=C3=A9ration=20?= =?UTF-8?q?de=20la=20d=C3=A9sinstallation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel.sh b/kernel.sh index 009b63b..5805854 100644 --- a/kernel.sh +++ b/kernel.sh @@ -1,5 +1,5 @@ #!/bin/bash -UPDATED="2024-05-01" +UPDATED="2024-05-03" DISABLE=1 # disable some options ENABLE=1 # enable some options @@ -130,6 +130,7 @@ VERSION="${VERSION:=help}" TARGET=$3 TARGET="${TARGET:=debian}" WORKDIR="" +REVISION=1 cd $CURRENT @@ -592,7 +593,7 @@ doGenerateUninstall() { # uninstall commands # package name PACKAGES= - TAG="_$VERSION_amd64.deb" + TAG="_${VERSION}-${REVISION}_amd64.deb" search_dir=$WORKDIR/../ for entry in "$search_dir"/*.deb; do @@ -658,7 +659,6 @@ doEnding() { doCompile() { cd $WORKDIR - REVISION=1 if [ -f ../revision.log ]; then REVISION="`head -1 ../revision.log`" REVISION=$((REVISION+1))