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
|
#!/bin/bash
|
||||||
UPDATED="2024-05-01"
|
UPDATED="2024-05-03"
|
||||||
|
|
||||||
DISABLE=1 # disable some options
|
DISABLE=1 # disable some options
|
||||||
ENABLE=1 # enable some options
|
ENABLE=1 # enable some options
|
||||||
@ -130,6 +130,7 @@ VERSION="${VERSION:=help}"
|
|||||||
TARGET=$3
|
TARGET=$3
|
||||||
TARGET="${TARGET:=debian}"
|
TARGET="${TARGET:=debian}"
|
||||||
WORKDIR=""
|
WORKDIR=""
|
||||||
|
REVISION=1
|
||||||
|
|
||||||
cd $CURRENT
|
cd $CURRENT
|
||||||
|
|
||||||
@ -592,7 +593,7 @@ doGenerateUninstall() {
|
|||||||
# uninstall commands
|
# uninstall commands
|
||||||
# package name
|
# package name
|
||||||
PACKAGES=
|
PACKAGES=
|
||||||
TAG="_$VERSION_amd64.deb"
|
TAG="_${VERSION}-${REVISION}_amd64.deb"
|
||||||
search_dir=$WORKDIR/../
|
search_dir=$WORKDIR/../
|
||||||
|
|
||||||
for entry in "$search_dir"/*.deb; do
|
for entry in "$search_dir"/*.deb; do
|
||||||
@ -658,7 +659,6 @@ doEnding() {
|
|||||||
doCompile() {
|
doCompile() {
|
||||||
cd $WORKDIR
|
cd $WORKDIR
|
||||||
|
|
||||||
REVISION=1
|
|
||||||
if [ -f ../revision.log ]; then
|
if [ -f ../revision.log ]; then
|
||||||
REVISION="`head -1 ../revision.log`"
|
REVISION="`head -1 ../revision.log`"
|
||||||
REVISION=$((REVISION+1))
|
REVISION=$((REVISION+1))
|
||||||
|
Loading…
Reference in New Issue
Block a user