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))