correction sur la génération de la désinstallation
This commit is contained in:
parent
04812b5a6d
commit
c2392a98ae
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user